summaryrefslogtreecommitdiff
path: root/src/thread/pthread_barrierattr_getpshared.c
blob: 8428bbecf38606b12e1667a4bb735c2d4f9591e4 (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

int pthread_barrierattr_getpshared(const pthread_barrierattr_t *a, int *pshared)
{
	*pshared = !!*a;
	return 0;
}