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:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user