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