2 0.1.0 - Revision 6 - 2007-06-10 22:00 EST
3 Completed mostly working version
4 * Moved to a mode where addevent calls a callback rather than it being instantiated within.
5 If the callback returns -1, then no event is ever setup,
6 Otherwise the integer value is used to setup the event.
7 This allows for using coroutine.wrap rather than a cooked-up wrapper
8 * Tests work, although there are a few remaining issues:
9 * Need to figure a good way of preserving the event object,
10 not sure if current method is good enough, since the socket
11 is the only anchor, and it is only held inside the coro..
12 circular reference, something that Lua 'handles' well.
13 * Doing more than the maximum sockets the process is allows
14 causes strangeness to occur in libevent.. somehow
15 it is getting around to epoll_add which is causing valgrind
17 * Added cheap protection code for failures in callback handlers
19 0.0.0 - Revision 2 - 2007-06-10 12:00 EST
20 Initial public version, was broken due to self-resume coroutines