[Xenomai-help] rt_pipe does not support POLLHUP on the Linux side

2012-03-23 Thread Wolfgang Grandegger
Hello, while playing with rt_pipe, I realized that a select()/poll() function does not unblock when the rt_pipe is deleted (via rt_pipe_delete) on the other end. I think this is because the poll callback does not support POLLHUP:

Re: [Xenomai-help] rt_pipe does not support POLLHUP on the Linux side

2012-03-23 Thread Gilles Chanteperdrix
On 03/23/2012 09:35 AM, Wolfgang Grandegger wrote: Hello, while playing with rt_pipe, I realized that a select()/poll() function does not unblock when the rt_pipe is deleted (via rt_pipe_delete) on the other end. I think this is because the poll callback does not support POLLHUP:

Re: [Xenomai-help] rt_pipe does not support POLLHUP on the Linux side

2012-03-23 Thread Gilles Chanteperdrix
On 03/23/2012 10:59 AM, Gilles Chanteperdrix wrote: On 03/23/2012 09:35 AM, Wolfgang Grandegger wrote: Hello, while playing with rt_pipe, I realized that a select()/poll() function does not unblock when the rt_pipe is deleted (via rt_pipe_delete) on the other end. I think this is because the