Searched refs:THR_FLAGS_NEED_SUSPEND (Results 1 – 7 of 7) sorted by relevance
121 thread->flags |= THR_FLAGS_NEED_SUSPEND; in _thr_suspend_all_np()167 thread->flags |= THR_FLAGS_NEED_SUSPEND; in suspend_common()
126 new_thread->flags = THR_FLAGS_NEED_SUSPEND; in _pthread_create()205 if (new_thread->flags & THR_FLAGS_NEED_SUSPEND) { in _pthread_create()
94 thread->flags &= ~(THR_FLAGS_NEED_SUSPEND | THR_FLAGS_SUSPENDED); in resume_common()
409 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()
303 if (curthread->flags & THR_FLAGS_NEED_SUSPEND) {
227 curthread->flags &= ~(THR_FLAGS_NEED_SUSPEND|THR_FLAGS_DETACHED); in thr_fork_impl()
484 #define THR_FLAGS_NEED_SUSPEND 0x0002 /* thread should be suspended */ macro