summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-12-20 16:55:57 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-12-20 16:55:57 +0000
commitd73eb8c8ca16f7727c257f47a63ffdfdc4f5a3f2 (patch)
tree93019d6500272355a5be7877aa186e6876c72653 /lib/libpthread
parent98f89aa0a977998e03ce9028fed710ca89b0cb8f (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_kern.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 01faecee7117..6f4bb6e787e0 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -90,6 +90,9 @@ _thread_kern_sched_frame(struct pthread_signal_frame *psf)
/* Restore the signal frame: */
_thread_sigframe_restore(_thread_run, psf);
+ /* The signal mask was restored; check for any pending signals: */
+ _thread_run->check_pending = 1;
+
/* Switch to the thread scheduler: */
___longjmp(_thread_kern_sched_jb, 1);
}