Home
last modified time | relevance | path

Searched refs:THR_FLAGS_NEED_SUSPEND (Results 1 – 7 of 7) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_suspend_np.c121 thread->flags |= THR_FLAGS_NEED_SUSPEND; in _thr_suspend_all_np()
167 thread->flags |= THR_FLAGS_NEED_SUSPEND; in suspend_common()
H A Dthr_create.c126 new_thread->flags = THR_FLAGS_NEED_SUSPEND; in _pthread_create()
205 if (new_thread->flags & THR_FLAGS_NEED_SUSPEND) { in _pthread_create()
H A Dthr_resume_np.c94 thread->flags &= ~(THR_FLAGS_NEED_SUSPEND | THR_FLAGS_SUSPENDED); in resume_common()
H A Dthr_sig.c409 if (__predict_true((curthread->flags & (THR_FLAGS_NEED_SUSPEND | in check_suspend()
410 THR_FLAGS_SUSPENDED)) != THR_FLAGS_NEED_SUSPEND)) in check_suspend()
429 while ((curthread->flags & THR_FLAGS_NEED_SUSPEND) != 0) { in check_suspend()
H A Dthr_exit.c303 if (curthread->flags & THR_FLAGS_NEED_SUSPEND) {
H A Dthr_fork.c227 curthread->flags &= ~(THR_FLAGS_NEED_SUSPEND|THR_FLAGS_DETACHED); in thr_fork_impl()
H A Dthr_private.h484 #define THR_FLAGS_NEED_SUSPEND 0x0002 /* thread should be suspended */ macro