diff options
Diffstat (limited to 'pthread_kill.c')
-rw-r--r-- | pthread_kill.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pthread_kill.c b/pthread_kill.c index 5a795dd..7de3fe2 100644 --- a/pthread_kill.c +++ b/pthread_kill.c @@ -82,8 +82,7 @@ pthread_kill (pthread_t thread, int sig) if (NULL == tp || thread.x != tp->ptHandle.x - || NULL == tp->threadH - || THREAD_PRIORITY_ERROR_RETURN == GetThreadPriority (tp->threadH)) + || NULL == tp->threadH) { result = ESRCH; } |