]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 21 Feb 2003 08:35:19 +0000 (08:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 21 Feb 2003 08:35:19 +0000 (08:35 +0000)
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.

nptl/ChangeLog
nptl/pthread_timedjoin.c

index f650542dbf16a93b7a84c151fb1968df07c31dd9..2c5c33823122a408bcb2eca764bca69052f50fc2 100644 (file)
@@ -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
index dd51fea4aa0556cd97de98549ce2b0907f3e9227..0883f94f60f633fc5171e6f6f020c08e70b44fd2 100644 (file)
@@ -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;
 
This page took 1.704541 seconds and 5 git commands to generate.