Remove redundant calls to wake up main thread.

This commit is contained in:
Cheng Zhao 2013-07-22 15:06:08 +08:00
parent 00fda0e778
commit 1f019b36d2

View file

@ -42,9 +42,6 @@ void NodeBindingsMac::PollEvents() {
r = ::kevent(kqueue_, NULL, 0, &ev, 1,
timeout == -1 ? NULL : &spec);
} while (r == -1 && errno == EINTR);
// Deal with event in main thread.
WakeupMainThread();
}
// static