Remove redundant calls to wake up main thread.
This commit is contained in:
parent
00fda0e778
commit
1f019b36d2
1 changed files with 0 additions and 3 deletions
|
@ -42,9 +42,6 @@ void NodeBindingsMac::PollEvents() {
|
||||||
r = ::kevent(kqueue_, NULL, 0, &ev, 1,
|
r = ::kevent(kqueue_, NULL, 0, &ev, 1,
|
||||||
timeout == -1 ? NULL : &spec);
|
timeout == -1 ? NULL : &spec);
|
||||||
} while (r == -1 && errno == EINTR);
|
} while (r == -1 && errno == EINTR);
|
||||||
|
|
||||||
// Deal with event in main thread.
|
|
||||||
WakeupMainThread();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue