Subject: Re: race in select() ?
To: Charles M. Hannum <abuse@spamalicious.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 10/11/2003 17:22:22
On Sat, Oct 11, 2003 at 04:51:23PM +0200, Manuel Bouyer wrote:
> I like this. It's cleaner than the timeval hack.

See my other anserws to david. in fact there is already a sigblock/sigsetmask
in the select loop.
With a little code rearanging we can put the
readable = allsock_select = allsock in the protected section, without adding
more system calls to the loop.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--