summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/thread/thr_sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c
index 48b3388..0b8ba2b 100644
--- a/lib/libthr/thread/thr_sig.c
+++ b/lib/libthr/thread/thr_sig.c
@@ -177,6 +177,6 @@ _thread_sig_wrapper(int sig, siginfo_t *info, void *context)
/* Restore the thread's flags, and make it runnable */
_thread_critical_enter(curthread);
curthread->flags = psd.psd_flags;
- PTHREAD_NEW_STATE(curthread, PS_RUNNING);
+ PTHREAD_SET_STATE(curthread, PS_RUNNING);
_thread_critical_exit(curthread);
}
OpenPOWER on IntegriCloud