commit | f80cc69c236fdfbc2dc161887d798b92c5119e31 | [log] [tgz] |
---|---|---|
author | Ryan Dahl <[email protected]> | Wed Jan 06 09:17:58 2010 |
committer | Ryan Dahl <[email protected]> | Wed Jan 06 09:27:31 2010 |
tree | 42a1d237699feac3f2f873a99309750a2dc3317a | |
parent | 3f3977283419fe81e09aa23b91e59de959a84abd [diff] |
libeio bugfix part 3 Finally (hopefully) fix the issue that Felix reported. It's only appearing on macintosh (test/mjsunit/test-eio-race3.js) The trick/hack is to call eio_poll() again before reentering the event loop. Additionally this commit implements a more complex method of calling eio_poll(), occasionally dropping to an ev_idle watcher. See also: 3f3977283419fe81e09aa23b91e59de959a84abd http://lists.schmorp.de/pipermail/libev/2010q1/000855.html http://groups.google.com/group/nodejs/browse_thread/thread/9f8db11c792a68bb/a89705f68971f53c