RE: Making Event work for Win32

[email protected] ("Moore, Paul")
Newsgroups perl.loop
Message-ID <714DFA46B9BBD0119CD000805FC1F53BDC3A57@UKRUX002.rundc.uk.origin-it.com>
From: Joshua N Pritikin [mailto:[email protected]]
> 
> I'd like to see:
> 
>   Event->handle(handle => $WIN32_HANDLE, cb => \&callback);
> 
> On Win32, Event::io can be implemented in terms of 
> Event::handle.  Then we get compatibility if people
> restrict themselves to Event::io, and the
> Win32 people are happy because they can wait on low-level 
> handle objects with Event::handle.

Fair enough - I just need to know how to build a new watcher type, then.
(And I need to write a win32.c which parallels unix.c for the
non-io-specific stuff, and I need to reimplement io in terms of handle for
Win32, ...)

Paul.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.