summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-05-30 14:50:16 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-05-30 14:50:16 +0000
commit9abece6475a919fad99077b47411185b6d559494 (patch)
tree5d159576b4bcbf3042b5c2845f01a8184c6f6330 /lib/libpthread/thread/thr_sig.c
parentb2b8c0dde1072ec0e6d8a63e00e4c6c9319a1dfd (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r--lib/libpthread/thread/thr_sig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c
index 49a1c397d85f..1250a95e4d34 100644
--- a/lib/libpthread/thread/thr_sig.c
+++ b/lib/libpthread/thread/thr_sig.c
@@ -893,7 +893,8 @@ static void
thr_sigframe_save(struct pthread *thread, struct pthread_sigframe *psf)
{
/* This has to initialize all members of the sigframe. */
- psf->psf_flags = thread->flags & THR_FLAGS_PRIVATE;
+ psf->psf_flags =
+ thread->flags & (THR_FLAGS_PRIVATE|THR_FLAGS_IN_TDLIST);
psf->psf_interrupted = thread->interrupted;
psf->psf_signo = thread->signo;
psf->psf_state = thread->state;