Home
last modified time | relevance | path

Searched refs:ta_pending (Results 1 – 4 of 4) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_taskqueue.c204 if (task->ta_pending) { in taskqueue_enqueue_locked()
205 if (task->ta_pending < USHRT_MAX) in taskqueue_enqueue_locked()
206 task->ta_pending++; in taskqueue_enqueue_locked()
230 task->ta_pending = 1; in taskqueue_enqueue_locked()
280 res = timeout_task->t.ta_pending; in taskqueue_enqueue_timeout()
353 pending = task->ta_pending; in taskqueue_run_locked()
354 task->ta_pending = 0; in taskqueue_run_locked()
404 if (task->ta_pending > 0) in taskqueue_cancel_locked()
407 *pendp = task->ta_pending; in taskqueue_cancel_locked()
408 task->ta_pending = 0; in taskqueue_cancel_locked()
H A Dtaskqueue.c139 while (task->ta_pending != 0 || task_is_running(taskQueue, task)) { in taskqueue_drain()
179 task->ta_pending = 0; in _task_init()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A D_task.h50 uint16_t ta_pending; /* (q) count times queued */ member
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dtask.h30 return t->ta_pending > 0; in task_pending()