mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2003-04-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* pthread_detach.c (pthread_detach): Fix test for invalid TID.
|
||||||
|
|
||||||
2003-04-06 Ulrich Drepper <drepper@redhat.com>
|
2003-04-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* descr.h (struct pthread): Move cancelhandling member to the front.
|
* descr.h (struct pthread): Move cancelhandling member to the front.
|
||||||
|
@ -29,7 +29,7 @@ pthread_detach (th)
|
|||||||
struct pthread *pd = (struct pthread *) th;
|
struct pthread *pd = (struct pthread *) th;
|
||||||
|
|
||||||
/* Make sure the descriptor is valid. */
|
/* Make sure the descriptor is valid. */
|
||||||
if (INVALID_TD_P (pd))
|
if (INVALID_NOT_TERMINATED_TD_P (pd))
|
||||||
/* Not a valid thread handle. */
|
/* Not a valid thread handle. */
|
||||||
return ESRCH;
|
return ESRCH;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user