diff options
Diffstat (limited to 'nonportable.c')
-rw-r--r-- | nonportable.c | 26 |
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 +} |