]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/thread/pthread_barrierattr_setpshared.c
1 #include "pthread_impl.h"
3 int pthread_barrierattr_setpshared(pthread_barrierattr_t
*a
, int pshared
)
5 if (pshared
> 1U) return EINVAL
;
6 a
->__attr
= pshared
? INT_MIN
: 0;