]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add new msleep(9) flag PBDY that shall be specified together with
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 14 Jul 2009 22:52:46 +0000 (22:52 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 14 Jul 2009 22:52:46 +0000 (22:52 +0000)
commitf33a947b56e0667c6e1e3384d00ffb1a5b67060e
treeb51305b6f0c522d37eac747f4cbb29242078546b
parent79799053a79ee5bb0446bcf61312caea774c2a14
Add new msleep(9) flag PBDY that shall be specified together with
PCATCH, to indicate that thread shall not be stopped upon receipt of
SIGSTOP until it reaches the kernel->usermode boundary.

Also change thread_single(SINGLE_NO_EXIT) to only stop threads at
the user boundary unconditionally.

Tested by: pho
Reviewed by: jhb
Approved by: re (kensmith)
sys/cddl/compat/opensolaris/sys/sig.h
sys/kern/kern_sig.c
sys/kern/kern_synch.c
sys/kern/kern_thread.c
sys/kern/subr_sleepqueue.c
sys/kern/subr_trap.c
sys/sys/param.h
sys/sys/proc.h
sys/sys/signalvar.h
sys/sys/sleepqueue.h