Home
last modified time | relevance | path

Searched refs:p_thread_pool (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/ofed/opensm/complib/
H A Dcl_threadpool.c66 p_thread_pool->events--; in thread_pool_routine()
69 (*p_thread_pool->pfn_callback) (p_thread_pool->context); in thread_pool_routine()
82 CL_ASSERT(p_thread_pool); in cl_thread_pool_init()
85 memset(p_thread_pool, 0, sizeof(*p_thread_pool)); in cl_thread_pool_init()
93 p_thread_pool->events = 0; in cl_thread_pool_init()
98 p_thread_pool->tid = calloc(count, sizeof(*p_thread_pool->tid)); in cl_thread_pool_init()
99 if (!p_thread_pool->tid) { in cl_thread_pool_init()
121 CL_ASSERT(p_thread_pool); in cl_thread_pool_destroy()
133 free(p_thread_pool->tid); in cl_thread_pool_destroy()
144 CL_ASSERT(p_thread_pool); in cl_thread_pool_signal()
[all …]
/freebsd-14.2/contrib/ofed/opensm/include/complib/
H A Dcl_threadpool.h141 cl_thread_pool_init(IN cl_thread_pool_t * const p_thread_pool,
194 void cl_thread_pool_destroy(IN cl_thread_pool_t * const p_thread_pool);
226 cl_status_t cl_thread_pool_signal(IN cl_thread_pool_t * const p_thread_pool);