mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Update.
2003-02-21 Ulrich Drepper <drepper@redhat.com> * pthread_join.c (pthread_join): Limited checking for invalid descriptors. * pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
This commit is contained in:
parent
3182090730
commit
49dc759f94
@ -1,3 +1,9 @@
|
||||
2003-02-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* pthread_join.c (pthread_join): Limited checking for invalid
|
||||
descriptors.
|
||||
* pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
|
||||
|
||||
2003-02-20 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
|
||||
|
@ -42,7 +42,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)
|
||||
if ((DEBUGGING_P && __find_in_stack_list (pd) == NULL) || pd->tid <= 0)
|
||||
/* Not a valid thread handle. */
|
||||
return ESRCH;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user