Home
last modified time | relevance | path

Searched defs:tpool (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/contrib/openzfs/lib/libtpool/
H A Dthread_pool_impl.h63 struct tpool { struct
64 tpool_t *tp_forw; /* circular list of all thread pools */ argument
65 tpool_t *tp_back; argument
67 pthread_cond_t tp_busycv; /* synchronization in tpool_dispatch */ argument
69 pthread_cond_t tp_waitcv; /* synchronization in tpool_wait() */ argument
70 tpool_active_t *tp_active; /* threads performing work */ argument
71 tpool_job_t *tp_head; /* FIFO job queue */ argument
72 tpool_job_t *tp_tail; argument
84 #define TP_WAIT 0x01 /* waiting in tpool_wait() */ argument
H A Dthread_pool.c37 delete_pool(tpool_t *tpool) in delete_pool()
74 tpool_t *tpool = (tpool_t *)arg; in worker_cleanup() local
90 notify_waiters(tpool_t *tpool) in notify_waiters()
229 create_worker(tpool_t *tpool) in create_worker()
325 tpool_t *tpool; in tpool_create() local
459 tpool_destroy(tpool_t *tpool) in tpool_destroy()
497 tpool_abandon(tpool_t *tpool) in tpool_abandon()
520 tpool_wait(tpool_t *tpool) in tpool_wait()
536 tpool_suspend(tpool_t *tpool) in tpool_suspend()
560 tpool_resume(tpool_t *tpool) in tpool_resume()
[all …]