diff options
Diffstat (limited to 'nptl/pthread_timedjoin.c')
-rw-r--r-- | nptl/pthread_timedjoin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_timedjoin.c b/nptl/pthread_timedjoin.c index 0883f94f60..c83c0ef953 100644 --- a/nptl/pthread_timedjoin.c +++ b/nptl/pthread_timedjoin.c @@ -19,7 +19,6 @@ #include <errno.h> #include <stdlib.h> - #include "atomic.h" #include "pthreadP.h" @@ -42,7 +41,7 @@ pthread_timedjoin_np (threadid, thread_return, abstime) int result; /* Make sure the descriptor is valid. */ - if ((DEBUGGING_P && __find_in_stack_list (pd) == NULL) || pd->tid <= 0) + if (INVALID_NOT_TERMINATED_TD_P (pd)) /* Not a valid thread handle. */ return ESRCH; |