diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-30 19:11:57 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-10-30 19:11:57 +0000 |
commit | 5b3d505b4e254da05bc3ffa547a6e9f65798bf3d (patch) | |
tree | 0ceb12589bb4b87bde661f6909649e57f1b16c15 /lib/libpthread/uthread/uthread_signal.c | |
parent | 2051a2b3c5d4ccdbc313073e0e948ca64da5d8e7 (diff) |
signal handling changes. This corrects several signal
handling errors in the threads library. Most of the libc_r regression
tests are now ok. thread specific kill semantics are still not correct.
No negative comments after posting to tech@ a week or so ago.
siginfo test fails on sparc64 due to sparc64 oddity.
Diffstat (limited to 'lib/libpthread/uthread/uthread_signal.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_signal.c b/lib/libpthread/uthread/uthread_signal.c index bd9b488b3d0..3cc2373fc64 100644 --- a/lib/libpthread/uthread/uthread_signal.c +++ b/lib/libpthread/uthread/uthread_signal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_signal.c,v 1.4 1999/11/25 07:01:45 d Exp $ */ +/* $OpenBSD: uthread_signal.c,v 1.5 2002/10/30 19:11:56 marc Exp $ */ /* * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -46,7 +46,7 @@ _thread_sys_signal(int s, sig_t a) /* Initialise the signal action structure: */ sigemptyset(&sa.sa_mask); sa.sa_handler = a; - sa.sa_flags = 0; + sa.sa_flags = SA_SIGINFO; /* Perform the sigaction syscall: */ if (_thread_sys_sigaction(s, &sa, &osa) < 0) { |