Re: select for UNIX sockets?

Alan Cox
2003-06-03T15:38:18Z

On Maw, 2003-06-03 at 01:08, Krzysztof Halasa wrote:
> Hi,
>
> Should something like this work correctly?

Sort of. The wakeup may occur for several reasons and you need to check
the return (for signals). Also the wakeup can occur when there is room
but another thread fills it, or return room but not enough for a large
datagram. Those don't seem to be the case on your example