Jan Kiszka wrote:
> Nadym Salem wrote:
>> But my negative error code does not help me in any way now.
>> rt_dev_close() fails and therefore I'm having trouble using the same
>> program more than once ;)
> 
> Oops, sorry (RTFM - read the fine mail...). Indeed, -524 means
> -ENOTSUPP, and this error code is only returned in the asymmetric
> closure case.
> 
> But that is actually broken in itself. Such a high error code should not
> leak into userland, and we would run better with returning -ENOSYS. That
> would trigger an automatic context switch internally. I think I'll kill
> that confusing warning in RTDM rev.6 already now.

Done (for the 2.4 series):

http://svn.gna.org/viewcvs/xenomai?rev=2901&view=rev

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to