Lines Matching defs:task2
158 isc_task_t *task1 = NULL, *task2 = NULL;
187 result = isc_task_create(taskmgr, 0, &task2);
189 isc_task_setname(task2, "normal", NULL);
190 ATF_CHECK(!isc_task_privilege(task2));
201 event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
206 isc_task_send(task2, &event);
225 event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
230 isc_task_send(task2, &event);
271 isc_task_destroy(&task2);
272 ATF_REQUIRE_EQ(task2, NULL);
287 isc_task_t *task1 = NULL, *task2 = NULL;
316 result = isc_task_create(taskmgr, 0, &task2);
318 isc_task_setname(task2, "normal", NULL);
319 ATF_CHECK(!isc_task_privilege(task2));
330 event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
335 isc_task_send(task2, &event);
354 event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
359 isc_task_send(task2, &event);
399 isc_task_destroy(&task2);
400 ATF_REQUIRE_EQ(task2, NULL);