Exactly, I have just found out that and posted actually a long mail just
before getting this mail from you :o)
Yep, and before getting blocked, read() increments the counter as well, that's
why we don't have a xnpipe_realease() called as a result of close().
So everything is correct.
Fine.
Hi,
My application consists of a real time module and a non-realtime user
mode program. They communicate through several pipes.
The user mode program creates a thread (pthread) that opens a pipe and
blocks in a read call, waiting for data. Under certain conditions, the
user mode program must do
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes, except
that in Linux read() returns 0, and not an error code as you
observed with Xenomai.
The read() call does *not* return when you close the *same* file handle
from
Dmitry Adamushko wrote:
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes, except
that in Linux read() returns 0, and not an error code as you
observed with Xenomai.
The read() call does *not* return
On Thursday 17 November 2005 18:24, Gilles Chanteperdrix wrote:
Dmitry Adamushko wrote:
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes, except
that in Linux read() returns 0, and not an error code as you
Dmitry Adamushko wrote:
On Thursday 17 November 2005 18:24, Gilles Chanteperdrix wrote:
Dmitry Adamushko wrote:
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes, except
that in Linux read() returns 0, and
On Thursday 17 November 2005 18:24, Gilles Chanteperdrix wrote:
Dmitry Adamushko wrote:
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes, except
that in Linux read() returns 0, and not an error code as you
On Thursday 17 November 2005 20:17, you wrote:
Dmitry Adamushko wrote:
On Thursday 17 November 2005 18:24, Gilles Chanteperdrix wrote:
Dmitry Adamushko wrote:
As a conclusion, the behaviour that you observed with Xenomai
pipes seems consistent with that of Linux' named pipes,