1:1 Userland threading stage 2.20/4:
authorSimon Schubert <corecode@dragonflybsd.org>
Wed, 21 Feb 2007 15:46:48 +0000 (15:46 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Wed, 21 Feb 2007 15:46:48 +0000 (15:46 +0000)
commitaa6c3de63135ed3ec835294ddbdfa6d2e52e06d9
treef5029906c2c5eb27c1c817c779e378baa620ba30
parent7d20a8ff44c307308d7d952dbac91530be338ec6
1:1 Userland threading stage 2.20/4:

Unify access to pending threads with a new function, lwp_sigpend(), which
returns pending signals for the lwp, which includes both lwp-specific
signals and signals pending on the process.  The new function lwp_delsig()
is used to remove a certain signal from the pending set of both process and
lwp.

Rework the places which access the pending signal list to either use those
two functions or, where not possibly, to work on both lwp and proc signal
lists.
sys/emulation/linux/linux_misc.c
sys/kern/kern_exit.c
sys/kern/kern_sig.c
sys/kern/tty.c
sys/netproto/ncp/ncp_ncp.c
sys/netproto/smb/smb_subr.c
sys/sys/signalvar.h
sys/vfs/mfs/mfs_vfsops.c
sys/vfs/nfs/nfs_socket.c
sys/vfs/procfs/procfs_ctl.c