diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2009-07-14 22:52:46 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2009-07-14 22:52:46 +0000 |
commit | f33a947b56e0667c6e1e3384d00ffb1a5b67060e (patch) | |
tree | b51305b6f0c522d37eac747f4cbb29242078546b /sys/cddl/compat/opensolaris/sys/sig.h | |
parent | 79799053a79ee5bb0446bcf61312caea774c2a14 (diff) | |
download | src-f33a947b56e0667c6e1e3384d00ffb1a5b67060e.tar.gz src-f33a947b56e0667c6e1e3384d00ffb1a5b67060e.zip |
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)
Notes
Notes:
svn path=/head/; revision=195702
Diffstat (limited to 'sys/cddl/compat/opensolaris/sys/sig.h')
-rw-r--r-- | sys/cddl/compat/opensolaris/sys/sig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/sig.h b/sys/cddl/compat/opensolaris/sys/sig.h index 985896ee2679..505379780f59 100644 --- a/sys/cddl/compat/opensolaris/sys/sig.h +++ b/sys/cddl/compat/opensolaris/sys/sig.h @@ -55,7 +55,7 @@ issig(int why) p = td->td_proc; PROC_LOCK(p); mtx_lock(&p->p_sigacts->ps_mtx); - sig = cursig(td); + sig = cursig(td, SIG_STOP_ALLOWED); mtx_unlock(&p->p_sigacts->ps_mtx); PROC_UNLOCK(p); if (sig != 0) |