From: Mark Andrews Date: Mon, 9 Sep 2002 06:01:06 +0000 (+0000) Subject: isc_timer_poke is thread specific X-Git-Tag: v9.2.3rc1~104^2~345 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6125833e82f7ec19c0186d34154123c2199ffca4;p=thirdparty%2Fbind9.git isc_timer_poke is thread specific --- diff --git a/lib/isc/timer.c b/lib/isc/timer.c index 74f74389d12..a80a65cdca6 100644 --- a/lib/isc/timer.c +++ b/lib/isc/timer.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: timer.c,v 1.68 2002/09/08 18:35:55 explorer Exp $ */ +/* $Id: timer.c,v 1.69 2002/09/09 06:01:06 marka Exp $ */ #include @@ -788,7 +788,13 @@ isc_timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp) { void isc_timermgr_poke(isc_timermgr_t *manager) { +#ifdef ISC_PLATFORM_USETHREADS + REQUIRE(VALID_MANAGER(manager)); + SIGNAL(&manager->wakeup); +#else + UNUSED(manager); +#endif } void