Home
last modified time | relevance | path

Searched refs:lock_switch (Results 1 – 3 of 3) sorted by relevance

/freebsd-9-stable/lib/libkse/thread/
Dthr_kern.c654 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()
Dthr_create.c238 new_thread->lock_switch = 0; in _pthread_create()
Dthr_private.h699 volatile int lock_switch; member