1:1 Userland threading stage 4.2/4:
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 22 Feb 2007 15:50:50 +0000 (15:50 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 22 Feb 2007 15:50:50 +0000 (15:50 +0000)
commit7278a84642b9aa6877c260976d12664b51ad16ec
treebd8c52819eb04fd505fb9341520938e78cc3f442
parent2daf83b0c3a7e4d0a155306e6647a41b2a9920c2
1:1 Userland threading stage 4.2/4:

Make signal system fully lwp-aware by splitting ksignal() in appropriate
functions.  Introduce lwpsignal(), which now contains the logic of
ksignal(), but can be used to deliver a signal to a specific lwp.

Convert consumers of ksignal() to use lwpsignal() when they actually
generate a thread-specific signal.

Fully implement proc_stop() and proc_unstop().

Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>
15 files changed:
sys/emulation/linux/i386/linux_sysvec.c
sys/kern/kern_sig.c
sys/kern/kern_synch.c
sys/kern/sys_generic.c
sys/kern/uipc_syscalls.c
sys/platform/pc32/isa/npx.c
sys/platform/vkernel/i386/npx.c
sys/sys/signalvar.h
sys/vfs/gnu/ext2fs/ext2_readwrite.c
sys/vfs/msdosfs/msdosfs_vnops.c
sys/vfs/nfs/nfs_bio.c
sys/vfs/nwfs/nwfs_io.c
sys/vfs/procfs/procfs_ctl.c
sys/vfs/smbfs/smbfs_io.c
sys/vfs/ufs/ufs_readwrite.c