aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed stack overflow issue. (Forgot to pop error/integer)Thomas Harning Jr2007-06-111-0/+2
|
* * Added some cheap protection code for failures in callbackThomas Harning Jr2007-06-112-10/+25
| | | | functions.
* * Completed mostly working versionThomas Harning Jr2007-06-114-63/+83
| | | | | | | | | | | | | | | | | * Moved to a mode where addevent calls a callback rather than it being instantiated within. * If the callback returns -1, then no event is ever setup * Otherwise the integer value is used to setup the event * This allows for using coroutine.wrap rather than a cooked-up wrapper * Tests work, although there are a few remaining issues: * Need to figure a good way of preserving the event object, not sure if current method is good enough, since the socket is the only anchor, and it is only held inside the coro.. circular reference, something that Lua 'handles' well. * Doing more than the maximum sockets the process is allows causes strangeness to occur in libevent.. somehow it is getting around to epoll_add which is causing valgrind to barf.
* * Adjusted licensing and added README.Thomas Harning Jr2007-06-106-0/+525
|
* Initial commit:Thomas Harning Jr2007-06-107-0/+411
* Created tree structure * Committed current version