Naje V wrote:
> Why opening of named pipe blocks all pthreads in process?

Because the user space pthreads can only may threads work by
trading a blocking operation for a non-blocking operation plus
a context switch, and opening a named pipe can not be done via
O_NDELAY, while preserving the semantics (i.e. "reader open
waits for writer open").

Consider using a real pipe or a socket, instead.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to