projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccacaa
)
(pthread_cancel): Don't do anything if cancelation is disabled.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 28 Sep 2000 22:46:36 +0000
(22:46 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 28 Sep 2000 22:46:36 +0000
(22:46 +0000)
linuxthreads/cancel.c
patch
|
blob
|
history
diff --git
a/linuxthreads/cancel.c
b/linuxthreads/cancel.c
index
a51e8cc
..
370a373
100644
(file)
--- a/
linuxthreads/cancel.c
+++ b/
linuxthreads/cancel.c
@@
-64,7
+64,7
@@
int pthread_cancel(pthread_t thread)
th = handle->h_descr;
- if (th->p_canceled) {
+ if (th->p_cancel
state == PTHREAD_CANCEL_DISABLE || th->p_cancel
ed) {
__pthread_unlock(&handle->h_lock);
return 0;
}