Added send_thread_signal() function and properly handle errors caused
commit02a53c176e038ab8ef529b66b2cb966fb8458aa9
authorAlexandre Julliard <julliard@winehq.org>
Tue, 25 Feb 2003 04:17:22 +0000 (25 04:17 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Feb 2003 04:17:22 +0000 (25 04:17 +0000)
tree7c938fc9a57ce0ca2e49109b63805fcbeaa711d9
parent4378d25bd2e3dbd96c211b1e5db70491e9073f1c
Added send_thread_signal() function and properly handle errors caused
by the thread having already died when we send it a signal.
Use -1 instead of 0 as invalid Unix pid value.
server/console.c
server/debugger.c
server/process.c
server/ptrace.c
server/thread.c
server/thread.h