there is a resource limit of 0 bits to store the concurrency level requested. thus any positive level exceeds a resource limit, resulting in EAGAIN. :-)
6 lines
66 B
C
6 lines
66 B
C
#include <pthread.h>
|
|
|
|
int pthread_getconcurrency()
|
|
{
|
|
return 0;
|
|
}
|