HELPLIB.HLB  —  DCE  DCE_THREADS, Application Routines, pthread_mutexattr_getkind_np
 NAME

    pthread_mutexattr_getkind_np - Obtains the mutex type attribute
                                   used when a mutex is created

 SYNOPSIS

     #include <pthread.h>

     int pthread_mutexattr_getkind_np( pthread_mutexattr_t *attr );

 PARAMETERS

     attr                Mutex attributes object whose mutex type
                         is obtained.

 DESCRIPTION

 The pthread_mutexattr_getkind_np()  routine obtains the mutex type
 attribute that is used when a mutex is created.  See the
 pthread_mutexattr_setkind_np() reference page for information about
 mutex type attributes.

 This routine is not portable.

 RETURN VALUES

 If the function fails, errno may be set to one of the following values:

    Return                 Error      Description
    ______________________________________________________________
    Mutex type attribute              Successful completion.

    -1                    [EINVAL]    The value specified by attr is
                                      invalid.

 RELATED INFORMATION

     FUNCTIONS: pthread_mutexattr_create
                pthread_mutexattr_setkind_np
                pthread_mutex_init
Close Help