On Tue, Jul 03, 2012 at 01:21:24PM +0800, 邹涛 <radio...@gmail.com> wrote: > I have no idea to do this work.
I don't think it can be done, as windows doesn't have any kind of unified I/O model as POSIX has. Your best bet is to use an extra thread (the first thing that should come to your mind on windows is: if it isn't obvious how to do it, it probably needs to be done in a separate thread) and use e.g. an ev_async watcher to wake up the event loop on events. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev