1 #include <pthread.h> 2 #include <errno.h> 3 pthread_setconcurrency(int val)4 int pthread_setconcurrency(int val) 5 { 6 if (val < 0) return EINVAL; 7 if (val > 0) return EAGAIN; 8 return 0; 9 } 10