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

2012-03-26 Thread Wolfgang Grandegger
Hi Gilles, On 03/23/2012 02:14 PM, Gilles Chanteperdrix wrote: 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

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

2012-03-26 Thread Wolfgang Grandegger
On 03/26/2012 11:38 AM, Wolfgang Grandegger wrote: Hi Gilles, On 03/23/2012 02:14 PM, Gilles Chanteperdrix wrote: 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()

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

2012-03-26 Thread Gilles Chanteperdrix
On 03/26/2012 11:48 AM, Wolfgang Grandegger wrote: On 03/26/2012 11:38 AM, Wolfgang Grandegger wrote: Hi Gilles, On 03/23/2012 02:14 PM, Gilles Chanteperdrix wrote: On 03/23/2012 10:59 AM, Gilles Chanteperdrix wrote: On 03/23/2012 09:35 AM, Wolfgang Grandegger wrote: Hello, while playing

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

2012-03-26 Thread Wolfgang Grandegger
On 03/26/2012 11:53 AM, Gilles Chanteperdrix wrote: On 03/26/2012 11:48 AM, Wolfgang Grandegger wrote: On 03/26/2012 11:38 AM, Wolfgang Grandegger wrote: Hi Gilles, On 03/23/2012 02:14 PM, Gilles Chanteperdrix wrote: On 03/23/2012 10:59 AM, Gilles Chanteperdrix wrote: On 03/23/2012 09:35

Re: [Xenomai-help] Intermixing native and POSIX skins

2012-03-26 Thread Doug Brunner
Thanks for the information--the issue is not about picking a free port on the server side, but rather about communicating the information on which ports are free to the clients (server has connected its end, but no other client is using the port). The semaphore mechanism isn't that much of a

[Xenomai-help] error with rt_pipe

2012-03-26 Thread Daniele
Hi I have these errors when I'm trying to make an example of pipe cc -I/usr/include/xenomai -D_GNU_SOURCE -D_REENTRANT -Wall -Werror-implicit-function-declaration -pipe -D__XENO__ test_pipe.c -lnative -L/usr/lib -lxenomai -lpthread -lrt -lrtdm -lpthread -Xlinker -rpath /usr/lib -o test_pipe

Re: [Xenomai-help] error with rt_pipe

2012-03-26 Thread Gilles Chanteperdrix
On 03/26/2012 08:11 PM, Daniele wrote: Hi I have these errors when I'm trying to make an example of pipe rt_pipes are deprecated, see xddp sockets examples in examples/rtdm/profiles/ipc/xddp* -- Gilles.

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

2012-03-26 Thread Gilles Chanteperdrix
On 03/26/2012 11:38 AM, Wolfgang Grandegger wrote: Hi Gilles, On 03/23/2012 02:14 PM, Gilles Chanteperdrix wrote: 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()