On Fri, 22 Jan 2010 16:10:35 +0100 Ed Schouten <e...@80386.nl> wrote:
> * Ivan Voras <ivo...@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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"