Searched refs:ub_thread_t (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/contrib/unbound/util/
H A Dlocks.c113 ub_thr_fork_create(ub_thread_t* thr, void* (*func)(void*), void* arg)
118 *thr = (ub_thread_t)pid;
121 *thr = (ub_thread_t)getpid();
131 * Note that ub_thread_t is defined as pid_t.
134 void ub_thr_fork_wait(ub_thread_t thread)
226 void ub_thread_create(ub_thread_t* thr, void* (*func)(void*), void* arg)
236 *thr=(ub_thread_t)_beginthreadex(NULL, 0, (void*)func, arg, 0, NULL);
244 ub_thread_t ub_thread_self(void)
249 void ub_thread_join(ub_thread_t thr)
H A Dlocks.h151 typedef pthread_t ub_thread_t; typedef
192 typedef thread_t ub_thread_t; typedef
230 typedef HANDLE ub_thread_t; typedef
231 void ub_thread_create(ub_thread_t* thr, void* (*func)(void*), void* arg);
232 ub_thread_t ub_thread_self(void);
233 void ub_thread_join(ub_thread_t thr);
266 typedef pid_t ub_thread_t; typedef
273 void ub_thr_fork_wait(ub_thread_t thread);
274 void ub_thr_fork_create(ub_thread_t* thr, void* (*func)(void*), void* arg);
/freebsd-11.0-release/contrib/unbound/daemon/
H A Dworker.h87 ub_thread_t thr_id;
/freebsd-11.0-release/contrib/unbound/libunbound/
H A Dcontext.h87 ub_thread_t bg_tid;

Completed in 55 milliseconds