projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
floating point environment, untested
[oweals/musl.git]
/
src
/
thread
/
pthread_setcancelstate.c
diff --git
a/src/thread/pthread_setcancelstate.c
b/src/thread/pthread_setcancelstate.c
index ebb6eba43d0a47ca61a62febfa939f73f031dd83..ba2b231190436076b1d200bc76fa6e2c5dec9443 100644
(file)
--- a/
src/thread/pthread_setcancelstate.c
+++ b/
src/thread/pthread_setcancelstate.c
@@
-3,7
+3,7
@@
int pthread_setcancelstate(int new, int *old)
{
if (new > 1U) return EINVAL;
- if (libc.
threade
d) {
+ if (libc.
main_threa
d) {
struct pthread *self = __pthread_self();
if (old) *old = self->canceldisable;
self->canceldisable = new;