develooper Front page | perl.perl5.porters | Postings from January 2001

RE: select()/poll() on Win32: possible funding, but is it insane?

Thread Next
From:
Horsley Tom
Date:
January 30, 2001 04:03
Subject:
RE: select()/poll() on Win32: possible funding, but is it insane?
Message ID:
707033366258D411BC9C00805F0D91071B1C2E@exchange.ccur.com
> First fork() emulation and now select()?  If we are not careful in ten
> years or so NT/W2K/W2010 will be almost as useful as UNIX was 
> in mid-1980's.

Too late :-). WaitForMultipleObjects() on win32 is already *infinitely*
more useful than select() or poll() since you can wait on all kinds
of handles, not just file descriptors you are doing I/O on, but also
semaphores, process handles for processes you are waiting to finish, etc.
If there is one thing win32 does well, it is event loops. (Oh, and if
you want the windows messages involved as well, use
MsgWaitForMultipleObjects).

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About