projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
major improvements to cancellation handling
[musl]
/
src
/
thread
/
pthread_cancel.c
diff --git
a/src/thread/pthread_cancel.c
b/src/thread/pthread_cancel.c
index
9f7829e
..
1ff00ad
100644
(file)
--- a/
src/thread/pthread_cancel.c
+++ b/
src/thread/pthread_cancel.c
@@
-2,5
+2,6
@@
int pthread_cancel(pthread_t t)
{
int pthread_cancel(pthread_t t)
{
+ t->cancel = 1;
return pthread_kill(t, SIGCANCEL);
}
return pthread_kill(t, SIGCANCEL);
}