lkml.org 
[lkml]   [1997]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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?

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.574 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site