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

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