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:
> 
> http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/nucleus/pipe.c#1024
> 
> Is this by purpose? At least a blocking read() works as expected. It
> does unblock and return 0 in that case.

rt_pipes are deprecated, we are not going to add new features to them
now. Please do not use them for new developments. We now have socket
based RTIPCs. See examples/rtdm/profiles/ipc.

-- 
                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to