projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e76095
)
convert the barrier pshared option back to 0/1 values when getting it
author
Rich Felker
<dalias@aerifal.cx>
Tue, 27 Sep 2011 21:02:19 +0000
(17:02 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 27 Sep 2011 21:02:19 +0000
(17:02 -0400)
src/thread/pthread_barrierattr_getpshared.c
patch
|
blob
|
history
diff --git
a/src/thread/pthread_barrierattr_getpshared.c
b/src/thread/pthread_barrierattr_getpshared.c
index de970768f8c7227f971b40f50aebdb5097c89e60..8428bbecf38606b12e1667a4bb735c2d4f9591e4 100644
(file)
--- a/
src/thread/pthread_barrierattr_getpshared.c
+++ b/
src/thread/pthread_barrierattr_getpshared.c
@@
-2,6
+2,6
@@
int pthread_barrierattr_getpshared(const pthread_barrierattr_t *a, int *pshared)
{
- *pshared = *a;
+ *pshared =
!!
*a;
return 0;
}