diff options
Diffstat (limited to 'lib/libkse/thread/thr_resume_np.c')
-rw-r--r-- | lib/libkse/thread/thr_resume_np.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_resume_np.c b/lib/libkse/thread/thr_resume_np.c index 5ed408b..9cbcf85 100644 --- a/lib/libkse/thread/thr_resume_np.c +++ b/lib/libkse/thread/thr_resume_np.c @@ -67,6 +67,10 @@ _pthread_resume_np(pthread_t thread) /* Set the thread's state back. */ PTHREAD_SET_STATE(thread,PS_COND_WAIT); break; + case SUSP_JOIN: + /* Set the thread's state back. */ + PTHREAD_SET_STATE(thread,PS_JOIN); + break; case SUSP_NOWAIT: /* Allow the thread to run. */ PTHREAD_SET_STATE(thread,PS_RUNNING); |