cvs commit: src/sys/fs/fifofs fifo_vnops.c src/sys/kern uipc_socket.c src/sys/sys socket.h

Alfred Perlstein alfred at freebsd.org
Thu Jun 3 23:03:28 GMT 2004


>   Pass the MSG_NBIO flag to the soreceive() and sosend() calls in
>   fifo_read() and fifo_write() instead of frobbing the SS_NBIO flag
>   on the underlying socket for each I/O operation.  The O_NONBLOCK
>   flag is a property of the descriptor, and unlike ordinary sockets,
>   fifos may be referenced by multiple descriptors.

That issue was bugging me forever, thank you for an elegant solution.  

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list