Searched refs:task2 (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/contrib/ntp/lib/isc/tests/ |
H A D | task_test.c | 158 isc_task_t *task1 = NULL, *task2 = NULL; local 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, NUL 287 isc_task_t *task1 = NULL, *task2 = NULL; local [all...] |
H A D | taskpool_test.c | 120 isc_task_t *task1 = NULL, *task2 = NULL, *task3 = NULL; local 135 isc_taskpool_gettask(pool, &task2); 136 ATF_REQUIRE(ISCAPI_TASK_VALID(task2)); 142 isc_task_destroy(&task2); 159 isc_task_t *task1 = NULL, *task2 = NULL, *task3 = NULL; local 173 isc_taskpool_gettask(pool, &task2); 177 ATF_CHECK(ISCAPI_TASK_VALID(task2)); 181 ATF_CHECK(isc_task_privilege(task2)); 187 ATF_CHECK(!isc_task_privilege(task2)); 191 isc_task_destroy(&task2); [all...] |
Completed in 100 milliseconds