]> khamidou — GitHub mirrors - electron.git/commit
Improve the way to integrate libuv.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 19 Apr 2013 13:21:04 +0000 (21:21 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 19 Apr 2013 13:21:04 +0000 (21:21 +0800)
commit855b42551d144cf6266e09a243e5c3e97f669dc9
treebe46676f4d8209500b88fa7bccac560e8f23376e
parent603ae8b62e9c7e018b4b35ae97dc2e4ffa6bb1d3
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.
common/node_bindings_mac.h
common/node_bindings_mac.mm