projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimize pthread termination in the non-detached case
[musl]
/
src
/
internal
/
pthread_impl.h
diff --git
a/src/internal/pthread_impl.h
b/src/internal/pthread_impl.h
index
adb80f2
..
c174011
100644
(file)
--- a/
src/internal/pthread_impl.h
+++ b/
src/internal/pthread_impl.h
@@
-36,6
+36,7
@@
struct pthread {
struct __ptcb *cancelbuf;
void **tsd;
pthread_attr_t attr;
+ volatile int dead;
};
#define __SU (sizeof(size_t)/sizeof(int))