Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 08:58:38 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Ed Schouten <ed@80386.nl>
Cc:        FreeBSD Hackers <hackers@freebsd.org>, Ivan Voras <ivoras@freebsd.org>, Randall Stewart <rrs@lakerest.net>
Subject:   Re: Greetings... a patch I would like your comments on...
Message-ID:  <20100125085838.0000060d@unknown>
In-Reply-To: <20100122151035.GX77705@hoeg.nl>
References:  <AD99639C-0DC6-4C4C-B945-A8BD23D6DF8E@lakerest.net> <9bbcef731001220527u5bbec479n59143b6631c6e2d8@mail.gmail.com> <20100122151035.GX77705@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Jan 2010 16:10:35 +0100
Ed Schouten <ed@80386.nl> wrote:

> * Ivan Voras <ivoras@freebsd.org> wrote:
> > This is a good and useful addition! I think Windows has implemented
> > a generalization of this (called "wait objects" or something like
> > that), which effectively allows a select()- (or in this case
> > kqueue())-like syscall to wait on both file descriptors and
> > condvars (as well as probably other MS-style objects). It's useful
> > for multiplexing events for dissimilar sources.
> 
> NtWaitForSingleObject(), NtWaitForMultipleObjects(), etc. :-)

Just to avoid any possible confusion, Microsoft have stopped
documenting the Nt* functions, or have marked them as obsolete: in
userland you call WaitForSingleObject, WaitForMultipleObjects
etc. while in the kernel you use KeWaitForSingleObject,
KeWaitForMutlipleObjects etc.

-- 
Bruce Cran



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100125085838.0000060d>