Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Hi Gilles,
>> I tend to think that xnselect_destroy should signal an event on the
>> dying fd instead of just clearing the binding. The task blocking on
>> select currently does not get a hint that the fd is dead and will block
>> on select until some other event arrives. That's unfortunately not
>> standard conforming.
> Ok. Got it, I was mixing xnselect_destroy and xnselector_destroy. Yes,
> right, something should be done. What is supposed to happen? Is it
> supposed to be signaled as an exceptional condition?
It should be signaled so that the caller tries to read/write/whatever
and then gets the information that the fd is down.
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
Xenomai-core mailing list