luaevent/CHANGELOG

Mon, 11 Jun 2007 02:14:55 +0000

author
Thomas Harning Jr <harningt@gmail.com>
date
Mon, 11 Jun 2007 02:14:55 +0000
changeset 5
205a6b09e3bd
child 6
59287edf821b
permissions
-rw-r--r--

Added changelog

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

mercurial