Use select to query the uv kqueue

This resolves #38. I've verified that events still get processed like they
should on El Capitan 10.11.3 (15D21).
This commit is contained in:
Ryan Patterson 2016-05-02 23:54:21 -07:00
parent 543211b53a
commit b15c07e1a8
2 changed files with 11 additions and 16 deletions

View file

@ -23,9 +23,6 @@ class NodeBindingsMac : public NodeBindings {
void PollEvents() override;
// Kqueue to poll for uv's backend fd.
int kqueue_;
DISALLOW_COPY_AND_ASSIGN(NodeBindingsMac);
};