[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LibEvent binding to Lua? Mix w/ HelperThreads?
- From: Doug Currie <doug.currie@...>
- Date: Fri, 31 Mar 2006 08:36:16 -0500
Friday, March 31, 2006, 2:00:58 AM, Diego Nehab wrote:
>> Just wondering, how does a LibEvent binding into Lua sound? Right now
>> it seems to be a good option/addition to the HelperThreads library for
>> my MoonLog application (syslog/metalog replacement).
> It would be nice to come up with something that worked both on Windowses
> and Unixes. Anyone has experience with libevent on Windows? Does it work
> only for sockets?
Looking at the source in the libevent CVS it appears that only sockets
are supported since select() is used for dispatching. This makes win32
libevent useless for files (and timers, queues, etc.). This is what
drove me to roll my own using IOCP...
http://lua-users.org/lists/lua-l/2006-01/msg00613.html
e
--
Doug Currie
Londonderry, NH