diff options
author | Niels Provos <provos@gmail.com> | 2007-11-25 06:57:59 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2007-11-25 06:57:59 +0000 |
commit | 88897852fc72c2cd43c057f2fc550b5842d5b857 (patch) | |
tree | 3c60ef4af996cd1d1a02be96d003422626578b68 /kqueue.c | |
parent | 8c3396b0c60bd6c0dcc4f8baeb9174810247e557 (diff) | |
download | libevent-88897852fc72c2cd43c057f2fc550b5842d5b857.tar.gz |
provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue
svn:r539
Diffstat (limited to 'kqueue.c')
-rw-r--r-- | kqueue.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -58,6 +58,7 @@ #endif #include "event.h" +#include "event-internal.h" #include "log.h" #define EVLIST_X_KQINKERNEL 0x1000 @@ -87,7 +88,8 @@ const struct eventop kqops = { kq_del, kq_recalc, kq_dispatch, - kq_dealloc + kq_dealloc, + 1 /* need reinit */ }; void * |