summaryrefslogblamecommitdiff
path: root/src/thread/pthread_barrierattr_setpshared.c
blob: 1edc95dcdf88eff3984b594a51a6bd92758e9237 (plain) (tree)
1
2
3
4
5
6
7



                                                                         
                                   

                 
#include "pthread_impl.h"

int pthread_barrierattr_setpshared(pthread_barrierattr_t *a, int pshared)
{
	*a = pshared ? INT_MIN : 0;
	return 0;
}