* Completed mostly working version
commitab8d2b7d64a433c53366ed8ae2bd3f21443dca16
authorThomas Harning Jr <harningt@gmail.com>
Mon, 11 Jun 2007 01:08:59 +0000 (11 01:08 +0000)
committerThomas Harning Jr <harningt@gmail.com>
Mon, 11 Jun 2007 01:08:59 +0000 (11 01:08 +0000)
treeedb989b681d95ca16caaebb55712cec6d23a1999
parent9839406cc22bd47bbf4bd82d73860f9f7e270155
 * Completed mostly working version
   * 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.
luaevent/luaevent.lua
luaevent/src/luaevent.c
luaevent/test/test.lua
luaevent/test/testClient.lua