Cheng Zhao
4a1f8cf1c9
Activate uv loop when uv loop's watcher queue changes, fixes #159 .
2014-01-18 16:56:46 +08:00
Cheng Zhao
abf982e4e5
Remove the on_watcher_queue_updated hack.
2013-12-15 19:50:43 +08:00
Cheng Zhao
9efde9577a
Move the watcher queue hack to NodeBindingsMac.
...
It's mac only.
2013-07-23 13:08:40 +08:00
Cheng Zhao
00fda0e778
Move common message integration code to NodeBindings' base class.
2013-07-22 14:58:25 +08:00
Cheng Zhao
41ff753339
Don't use gcd to post tasks to main thread.
2013-07-22 13:03:13 +08:00
Cheng Zhao
855b42551d
Improve the way to integrate libuv.
...
Now we poll libuv's events in embed thread by adding main loop's backend
fd to a new kqueue fd, instead of directly polling on main loop's
backend fd. In this way we can avoid dealing with one shot events
overselves.
2013-04-19 21:21:04 +08:00
Cheng Zhao
409228207c
Integrate libuv with browser's message loop.
2013-04-13 23:05:13 +08:00