From 2b3eede0b834a82c7dce5ec328f3929c0effc536 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 8 Feb 2001 16:31:20 +0000 Subject: Fixes to new mutex routines and various tests. --- misc.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 6116e50..20c90f6 100644 --- a/misc.c +++ b/misc.c @@ -238,6 +238,27 @@ pthread_equal (pthread_t t1, pthread_t t2) } /* pthread_equal */ +int +pthread_setconcurrency(int level) +{ + if (level < 0) + { + return EINVAL; + } + else + { + return 0; + } +} + + +int +pthread_getconcurrency(void) +{ + return 0; +} + + static int ptw32_cancelable_wait (HANDLE waitHandle, DWORD timeout) /* -- cgit v1.2.3