Files
semi-libc/src/thread/pthread_barrierattr_setpshared.c
T
Rich Felker 0109d950e6 make pthread attribute types structs, even when they just have one field
this change is to get the right tags for C++ ABI matching. it should
have no other effects.
2013-07-22 13:57:02 -04:00

8 lines
152 B
C

#include "pthread_impl.h"
int pthread_barrierattr_setpshared(pthread_barrierattr_t *a, int pshared)
{
a->__attr = pshared ? INT_MIN : 0;
return 0;
}