Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2004 16:03:28 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/fifofs fifo_vnops.c src/sys/kern uipc_socket.c src/sys/sys socket.h
Message-ID:  <20040603230328.GU91359@elvis.mu.org>
In-Reply-To: <200406010118.i511IpUs003659@repoman.freebsd.org>
References:  <200406010118.i511IpUs003659@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>   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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040603230328.GU91359>