projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca315f
)
(pthread_detach): Allow case where the thread has already terminated.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 7 Dec 2000 00:29:17 +0000
(
00:29
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 7 Dec 2000 00:29:17 +0000
(
00:29
+0000)
linuxthreads/join.c
patch
|
blob
|
history
diff --git
a/linuxthreads/join.c
b/linuxthreads/join.c
index
97da2df
..
bbcebe1
100644
(file)
--- a/
linuxthreads/join.c
+++ b/
linuxthreads/join.c
@@
-181,7
+181,7
@@
int pthread_detach(pthread_t thread_id)
pthread_descr th;
__pthread_lock(&handle->h_lock, NULL);
- if (
invalid
_handle(handle, thread_id)) {
+ if (
nonexisting
_handle(handle, thread_id)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}