lkml.org 
[lkml]   [1999]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: > 15,000 Simultaneous Connections
Andreas Schwab wrote:
> |> The main cost of select and poll, on the kernel side, is scanning
> |> the fds to see what is ready. The way select and poll are usually
> |> used we want a means to express an interest in an fd and then
> |> receive a stream of "events" as fds change state.
>
> That's what SIGIO is for.

And in case anyone didn't notice, F_SETSIG & SIGIO can be used
efficiently using rt_sigtimedwait. At least in theory :-)
(I haven't tried).

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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