mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
oops, build was failing with threads disabled
This commit is contained in:
parent
3a42fe7ca5
commit
ac7109d68e
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: task.c,v 1.119 2011/09/02 23:46:32 tbox Exp $ */
|
/* $Id: task.c,v 1.120 2011/09/03 00:24:27 each Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
* \author Principal Author: Bob Halley
|
* \author Principal Author: Bob Halley
|
||||||
@ -1255,11 +1255,11 @@ dispatch(isc__taskmgr_t *manager) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef USE_WORKER_THREADS
|
#ifndef USE_WORKER_THREADS
|
||||||
ISC_LIST_APPENDLIST(&manager->ready_tasks, new_ready_tasks, ready_link);
|
ISC_LIST_APPENDLIST(manager->ready_tasks, new_ready_tasks, ready_link);
|
||||||
ISC_LIST_APPENDLIST(&manager->ready_priority_tasks, new_priority_tasks,
|
ISC_LIST_APPENDLIST(manager->ready_priority_tasks, new_priority_tasks,
|
||||||
ready_priority_link);
|
ready_priority_link);
|
||||||
if (empty_readyq(manager))
|
if (empty_readyq(manager))
|
||||||
manager->mode == isc_taskmgrmode_normal;
|
manager->mode = isc_taskmgrmode_normal;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
UNLOCK(&manager->lock);
|
UNLOCK(&manager->lock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user