summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r--lib/libpthread/thread/thr_sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c
index c3ec191..e73d5a2 100644
--- a/lib/libpthread/thread/thr_sig.c
+++ b/lib/libpthread/thread/thr_sig.c
@@ -97,7 +97,7 @@ _thread_sig_handler(int sig, int code, struct sigcontext * scp)
_thread_seterrno(pthread, 0);
/* Change the state of the thread to run: */
- pthread->state = PS_RUNNING;
+ PTHREAD_NEW_STATE(pthread,PS_RUNNING);
}
}
OpenPOWER on IntegriCloud