From 25f0d94be4e63b1a3cea1844bc4be7849c452a75 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 6 Feb 2001 05:44:38 +0000 Subject: Created experimental branch. --- nonportable.c | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'nonportable.c') diff --git a/nonportable.c b/nonportable.c index 49548dd..17cbc60 100644 --- a/nonportable.c +++ b/nonportable.c @@ -26,30 +26,6 @@ #include "pthread.h" #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() * @@ -271,4 +247,4 @@ pthread_win32_thread_detach_np () } return TRUE; -} \ No newline at end of file +} -- cgit v1.2.3