summaryrefslogtreecommitdiff
path: root/src/thread/pthread_setconcurrency.c
blob: 091abf98c86f3e23c921f0c3e83a8ba6b58b0052 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <pthread.h>
#include <errno.h>

int pthread_setconcurrency(int val)
{
	if (val < 0) return EINVAL;
	if (val > 0) return EAGAIN;
	return 0;
}