mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Always restart dispatchers on empty readyq
This commit is contained in:
@@ -1171,11 +1171,9 @@ dispatch(isc__taskmgr_t *manager, int threadid) {
|
||||
* point and continue with the regular ready queue.
|
||||
*/
|
||||
if (manager->tasks_running == 0 && empty_readyq(manager, queue)) {
|
||||
if (manager->mode != isc_taskmgrmode_normal) {
|
||||
manager->mode = isc_taskmgrmode_normal;
|
||||
for (unsigned i=0; i < manager->workers; i++) {
|
||||
BROADCAST(&manager->work_available[i]);
|
||||
}
|
||||
manager->mode = isc_taskmgrmode_normal;
|
||||
for (unsigned i=0; i < manager->workers; i++) {
|
||||
BROADCAST(&manager->work_available[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user