Messages in this thread | | | Date | Thu, 10 Jul 1997 16:16:59 -0400 | From | "David S. Miller" <> | Subject | Re: InfoWorld web server shootout# |
| |
From: alan@lxorguk.ukuu.org.uk (Alan Cox) Date: Thu, 10 Jul 1997 18:46:57 +0100 (BST)
Not easily. It opens a lot of races. If you have someone selecting() you need to wake at least one accept() caller up, and cope if they don't complete the accept "wake_up_one" is fun
Really, people should revisit Linus's posting on select() wake_up_one() dangers from long ago. It is no trivial to preserve the sematics, if it is possible at all.
For example if the process chosen to wake up does not complete the accept() under FreeBSD, what happens?
| |