summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c21
1 files changed, 21 insertions, 0 deletions
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)
/*