diff options
Diffstat (limited to 'README.NONPORTABLE')
| -rw-r--r-- | README.NONPORTABLE | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/README.NONPORTABLE b/README.NONPORTABLE index 7dfba7f..8319853 100644 --- a/README.NONPORTABLE +++ b/README.NONPORTABLE @@ -40,6 +40,37 @@ pthread_delay_np (const struct timespec *interval);          0          Successful completion.           [EINVAL]   The value specified by interval is invalid.  +int +pthread_mutex_setdefaulttype_np (int newtype, int * oldtype); + +        The routine sets the default type to be given to all +        POSIX mutexes initialised after the function +        is called. Any of the following type values +        can be made the default type: + +          PTHREAD_MUTEX_NORMAL +          PTHREAD_MUTEX_ERRORCHECK +          PTHREAD_MUTEX_RECURSIVE +          PTHREAD_MUTEX_DEFAULT + +        Any mutex initialised with type PTHREAD_MUTEX_DEFAULT +        will be set to the mapped type instead. Previously +        initialised mutexes are not changed. + +        When set to PTHREAD_MUTEX_DEFAULT (the initial +        value), mutexes will behave as for the +        PTHREAD_MUTEX_RECURSIVE type. + +        If 'oldtype' is a non-NULL pointer, the previous type is +        returned through it. +        To get the previous type without setting a new type, +        use -1 as the 'newtype' value. + +        Return Values + +        0          Successfully changed to new type. +        [EINVAL]   New type isn't valid. +  BOOL  pthread_win32_process_attach_np (void); | 
