lkml.org 
[lkml]   [1997]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: InfoWorld web server shootout#
Date
> As far as I can see from a cursory look at tcp_input.c, Linux does wake
> every process that's in accept() (2.0; don't know about 2.1).
>
> That should probably be changed...

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



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