diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2012-05-16 08:57:22 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2012-05-16 08:57:22 +0000 |
commit | 096815990943e7237e8fd06a1d29b5f185bb417c (patch) | |
tree | 9d036599d3a64c5afc8ea1e1db77c3e4253e19c5 /usr.sbin/unbound/smallapp/worker_cb.c | |
parent | 2d0265882a16694c42b396ac0b2598691875b4dc (diff) |
Don't spin accept() when hitting ENFILE/EMFILE. Upstream r2663.
Diffstat (limited to 'usr.sbin/unbound/smallapp/worker_cb.c')
-rw-r--r-- | usr.sbin/unbound/smallapp/worker_cb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/unbound/smallapp/worker_cb.c b/usr.sbin/unbound/smallapp/worker_cb.c index 8e86caaeb57..bc37e3307ae 100644 --- a/usr.sbin/unbound/smallapp/worker_cb.c +++ b/usr.sbin/unbound/smallapp/worker_cb.c @@ -195,6 +195,16 @@ void worker_probe_timer_cb(void* ATTR_UNUSED(arg)) log_assert(0); } +void worker_start_accept(void* ATTR_UNUSED(arg)) +{ + log_assert(0); +} + +void worker_stop_accept(void* ATTR_UNUSED(arg)) +{ + log_assert(0); +} + /** keep track of lock id in lock-verify application */ struct order_id { /** the thread id that created it */ |