From ddd87b2f10baf35ed32917bd488be8bf53ad0cc3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 30 May 2011 11:31:07 -0400 Subject: 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. :-) --- src/thread/pthread_getconcurrency.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/thread/pthread_getconcurrency.c (limited to 'src/thread/pthread_getconcurrency.c') diff --git a/src/thread/pthread_getconcurrency.c b/src/thread/pthread_getconcurrency.c new file mode 100644 index 00000000..269429a8 --- /dev/null +++ b/src/thread/pthread_getconcurrency.c @@ -0,0 +1,6 @@ +#include + +int pthread_getconcurrency() +{ + return 0; +} -- cgit v1.2.1