lkml.org 
[lkml]   [1999]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: > 15,000 Simultaneous Connections
On Wed, 15 Sep 1999, Stephen C. Tweedie wrote:

> On Tue, 14 Sep 1999 23:39:01 -0700 (PDT), Gideon Glass
> <gid@cobaltnet.com> said:
>
> > I believe that the API presented in the Banga/Mogul/Druschel paper
> > lets you retrieve N events at one time, in order to amortize the cost
> > of the dequeuing operation.
>
> Fine, I'd be more than happy to see us add a sigwaitinfos() call to
> pass multiple siginfos at once. I'd rather do that than change the
> underlying siginfo mechanism that already exists in Linux.
>
> > Advantanges over sigwaitinfo():
>
> > - can dequeue multiple events in one call
>
> So fix sigwaitinfo, don't redo from scratch.

Hmmm, that would change the POSIX definition of the call. You have to
create a new system call sigwait_bunch_of_infos() or something. :)
This stuff is real tricky in a multithreaded app, where you might want to
dequeue siginfo's in multiple threads. Not that this is possible with the
current Linux implementation of POSIX threads....

Robert

--
Robert de Vries
rhdv@rhdv.cistron.nl


-
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:54    [W:0.094 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site