diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-06-29 17:09:07 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-06-29 17:09:07 +0000 |
| commit | a9513dc678a13efd334ffd491e2613bed5fe93d0 (patch) | |
| tree | b1f24217eca197c95d265752e36773cf443e5e17 /lib/libpthread/thread/thr_sig.c | |
| parent | 1e1e0f9858a2efc295189de66aae2b9cde4ede21 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sig.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index fd5180c90683..9ca197efdbec 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -932,6 +932,12 @@ _thread_sig_wrapper(void) thread->curframe = NULL; PTHREAD_ASSERT(psf != NULL, "Invalid signal frame in signal handler"); + /* + * We're coming from the kernel scheduler; clear the in + * scheduler flag: + */ + _thread_kern_in_sched = 0; + /* Check the threads previous state: */ if (psf->saved_state.psd_state != PS_RUNNING) { /* |
