implement pthread_[sg]etconcurrency.

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. :-)
This commit is contained in:
Rich Felker
2011-05-30 11:31:07 -04:00
parent 11c531e21d
commit ddd87b2f10
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#include <pthread.h>
int pthread_getconcurrency()
{
return 0;
}