diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2008-12-16 07:57:29 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2008-12-16 07:57:29 +0000 |
commit | 66f602cf3edb31a30ff3fcee9bd3d4b9d4ff57a7 (patch) | |
tree | 446062b72d3d878e3dd07d974267043287dbbd8b /usr.bin/cdio | |
parent | 799c9944fa8bbbc14aab0bb61b58d2823678bc31 (diff) |
Move the functionality of psignal() to a new function ptsignal()
that takes an additional argument "type" that indicates whether the
signal is for the process, just a particular thread, or propagated
to a thread because it's not caught or blocked. psignal() becomes
a wrapper that does the first of those.
So that sys_kill() can tell apart signals for the process and signals
for the process's original thread, the tid of the original thread
is defined as its pid + THREAD_PID_OFFSET.
ok tedu@ art@ andreas@ kurt@ "better early than late" deraadt@
Diffstat (limited to 'usr.bin/cdio')
0 files changed, 0 insertions, 0 deletions