diff options
Diffstat (limited to 'lib/libthr/thread/thr_suspend_np.c')
-rw-r--r-- | lib/libthr/thread/thr_suspend_np.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_suspend_np.c b/lib/libthr/thread/thr_suspend_np.c index 3e48656..7d4a2e2 100644 --- a/lib/libthr/thread/thr_suspend_np.c +++ b/lib/libthr/thread/thr_suspend_np.c @@ -130,7 +130,7 @@ suspend_common(struct pthread *curthread, struct pthread *thread, THR_THREAD_UNLOCK(curthread, thread); _thr_send_sig(thread, SIGCANCEL); if (waitok) { - _thr_umtx_wait(&thread->cycle, tmp, NULL); + _thr_umtx_wait_uint(&thread->cycle, tmp, NULL, 0); THR_THREAD_LOCK(curthread, thread); } else { THR_THREAD_LOCK(curthread, thread); |