Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_thread.c984 thread_lock(p->p_singlethread); in thread_exit()
985 thread_unsuspend_one(p->p_singlethread, in thread_exit()
1259 if (p->p_singlethread != NULL && p->p_singlethread != td) in thread_single()
1276 p->p_singlethread = td; in thread_single()
1319 p->p_singlethread = NULL; in thread_single()
1418 KASSERT(p->p_singlethread != NULL, in thread_suspend_check()
1426 if (p->p_singlethread == td) in thread_suspend_check()
1462 if ((p->p_flag & P_SINGLE_EXIT) && (p->p_singlethread != td)) { in thread_suspend_check()
1480 thread_lock(p->p_singlethread); in thread_suspend_check()
1481 thread_unsuspend_one(p->p_singlethread, p, in thread_suspend_check()
[all …]
H A Dkern_ucoredump.c222 MPASS((p->p_flag & P_HADTHREADS) == 0 || p->p_singlethread == td); in coredump()
/freebsd/sys/sys/
H A Dproc.h715 struct thread *p_singlethread;/* (c + j) If single threading this is it */ member