2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

The lock must be held when calling SIGNAL

This commit is contained in:
Bob Halley
1998-12-16 02:04:43 +00:00
parent 131b0092c6
commit 835e240716

View File

@@ -622,11 +622,11 @@ isc_timermgr_destroy(isc_timermgr_t **managerp) {
REQUIRE(EMPTY(manager->timers));
manager->done = ISC_TRUE;
UNLOCK(&manager->lock);
XTRACE("signal (destroy)");
SIGNAL(&manager->wakeup);
UNLOCK(&manager->lock);
/*
* Wait for thread to exit.
*/