summaryrefslogtreecommitdiff
path: root/ev_kqueue.c
diff options
context:
space:
mode:
authorroot <root>2009-07-10 19:10:19 +0000
committerroot <root>2009-07-10 19:10:19 +0000
commit9a4bdcd75ef07d4a9fee91d2dd3f9d4ac1c57580 (patch)
tree0aadce32eacc79b88ac6226d3333c3b4aea10228 /ev_kqueue.c
parentfe7f056cfc2dc30ab33a1e36b0005fa1e39b0e50 (diff)
*** empty log message ***
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r--ev_kqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c
index 2a9832f..ac73f7c 100644
--- a/ev_kqueue.c
+++ b/ev_kqueue.c
@@ -85,7 +85,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout)
int res, i;
struct timespec ts;
- EV_SUSPEND_CB;
+ EV_RELEASE_CB;
/* need to resize so there is enough space for errors */
if (kqueue_changecnt > kqueue_eventmax)
@@ -100,7 +100,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout)
res = kevent (backend_fd, kqueue_changes, kqueue_changecnt, kqueue_events, kqueue_eventmax, &ts);
kqueue_changecnt = 0;
- EV_RESUME_CB;
+ EV_ACQUIRE_CB;
if (expect_false (res < 0))
{