summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_resume_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_resume_np.c')
-rw-r--r--lib/libthr/thread/thr_resume_np.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_resume_np.c b/lib/libthr/thread/thr_resume_np.c
index 2699006..3f56b46 100644
--- a/lib/libthr/thread/thr_resume_np.c
+++ b/lib/libthr/thread/thr_resume_np.c
@@ -84,6 +84,5 @@ static void
resume_common(struct pthread *thread)
{
thread->flags &= ~PTHREAD_FLAGS_SUSPENDED;
- if (thr_kill(thread->thr_id, SIGTHR))
- abort();
+ thr_wake(thread->thr_id);
}
OpenPOWER on IntegriCloud