summaryrefslogtreecommitdiff
path: root/nonportable.c
diff options
context:
space:
mode:
authorrpj <rpj>2001-02-06 05:44:38 +0000
committerrpj <rpj>2001-02-06 05:44:38 +0000
commit25f0d94be4e63b1a3cea1844bc4be7849c452a75 (patch)
treea124e65563367a4f2d3780128e29a7bddddf2b4e /nonportable.c
parent9171eeaa77aaa6c4c34a88f5305ee3ebbc63077c (diff)
Created experimental branch.
Diffstat (limited to 'nonportable.c')
-rw-r--r--nonportable.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/nonportable.c b/nonportable.c
index 49548dd..17cbc60 100644
--- a/nonportable.c
+++ b/nonportable.c
@@ -27,30 +27,6 @@
#include "implement.h"
/*
- * pthread_mutexattr_setforcecs_np()
- *
- * Allows an application to force the library to use
- * critical sections rather than win32 mutexes as
- * the basis for any mutexes that use "attr".
- *
- * Values for "forcecs" are defined in pthread.h
- */
-int
-pthread_mutexattr_setforcecs_np(pthread_mutexattr_t *attr,
- int forcecs)
-{
- if (attr == NULL || *attr == NULL)
- {
- /* This is disallowed. */
- return EINVAL;
- }
-
- (*attr)->forcecs = forcecs;
-
- return 0;
-}
-
-/*
* pthread_getw32threadhandle_np()
*
* Returns the win32 thread handle that the POSIX
@@ -271,4 +247,4 @@ pthread_win32_thread_detach_np ()
}
return TRUE;
-} \ No newline at end of file
+}