2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 16:45:24 +00:00

Cleanup unused mctx.

memset task->name.
This commit is contained in:
Mark Andrews
2000-04-18 09:05:16 +00:00
parent 262e8ed36a
commit 9069fc6030

View File

@@ -71,7 +71,6 @@ struct isc_task {
unsigned int magic; unsigned int magic;
isc_taskmgr_t * manager; isc_taskmgr_t * manager;
isc_mutex_t lock; isc_mutex_t lock;
isc_mem_t * mctx;
/* Locked by task lock. */ /* Locked by task lock. */
task_state_t state; task_state_t state;
unsigned int references; unsigned int references;
@@ -176,7 +175,7 @@ isc_task_create(isc_taskmgr_t *manager, unsigned int quantum,
task->quantum = quantum; task->quantum = quantum;
task->flags = 0; task->flags = 0;
#ifdef ISC_TASK_NAMES #ifdef ISC_TASK_NAMES
task->name[0] = '\0'; memset(task->name, 0, sizeof task->name);
task->tag = NULL; task->tag = NULL;
#endif #endif
INIT_LINK(task, link); INIT_LINK(task, link);