Searched refs:lock_switch (Results 1 – 3 of 3) sorted by relevance
654 curthread->lock_switch = 1; in _thr_sched_switch_unlocked()683 curthread->lock_switch = 0; in _thr_sched_switch_unlocked()757 if (curthread->lock_switch == 0) in kse_sched_single()897 if (curthread->lock_switch == 0) { in kse_sched_single()1099 if (curthread->lock_switch == 0 && curthread->state == PS_RUNNING && in kse_sched_multi()1111 if (curthread->lock_switch != 0) { in kse_sched_multi()1138 if (curthread->lock_switch) in thr_resume_wrapper()1175 thread->lock_switch = 0; in thr_cleanup()
238 new_thread->lock_switch = 0; in _pthread_create()
699 volatile int lock_switch; member