1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2003-04-07  Ulrich Drepper  <drepper@redhat.com>

	* pthread_detach.c (pthread_detach): Fix test for invalid TID.
This commit is contained in:
Ulrich Drepper
2003-04-07 21:09:12 +00:00
parent e8b0d4a143
commit 69b35e862f
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pthread_detach (th)
struct pthread *pd = (struct pthread *) th;
/* Make sure the descriptor is valid. */
if (INVALID_TD_P (pd))
if (INVALID_NOT_TERMINATED_TD_P (pd))
/* Not a valid thread handle. */
return ESRCH;