Re: [Xenomai-core] nucleus/pipe.c patch: check for lingering close at xnpipe_connect()

2009-09-11 Thread Philippe Gerum
On Thu, 2009-09-10 at 12:49 -0400, Andreas Glatz wrote: Hi, Whenever possible, please post patches inline (I had to manually copy it to allow commenting). Sure, no problem. You cannot bluntly call release() here. You may not run in Linux context while that handler demands

Re: [Xenomai-core] nucleus/pipe.c patch: check for lingering close at xnpipe_connect()

2009-09-10 Thread Andreas Glatz
Hi, Whenever possible, please post patches inline (I had to manually copy it to allow commenting). Sure, no problem. You cannot bluntly call release() here. You may not run in Linux context while that handler demands this. It's also called in xnpipe_disconnect() (if I follow 'goto

Re: [Xenomai-core] nucleus/pipe.c patch: check for lingering close at xnpipe_connect()

2009-09-09 Thread Jan Kiszka
Andreas Glatz wrote: Hi, Currently, you can destroy RT_PIPE while a non-rt application is connected. If that happens the pipe won't be fully closed but some parts will be leftover for cleanup when closing the RT_PIPE from the non-rt application (lingering close). For us it would be very