VMS Help  —  DCE  DCE_THREADS, Application Routines, pthread_mutexattr_delete
 NAME

    pthread_mutexattr_delete - Deletes a mutex attributes object

 SYNOPSIS

     #include <pthread.h>

     int pthread_mutexattr_delete( pthread_mutexattr_t *attr );

 PARAMETERS

     attr                Mutex attributes object deleted.

 DESCRIPTION

 The pthread_mutexattr_delete() routine deletes a mutex attributes
 object. Call this routine when a mutex attributes object is no longer
 referenced by the pthread_mutexattr_create() routine.

 This routine gives permission to reclaim storage for the mutex attri-
 butes object. Mutexes that were created using this attributes object are
 not affected by the deletion of the mutex attributes object.

 The results of calling this routine are unpredictable if the attributes
 object specified in the attr parameter does not exist.

 RETURN VALUES

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

    Return   Error      Description
    ___________________________________________________________
     0                  Successful completion.

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

 RELATED INFORMATION

     FUNCTIONS:  pthread_mutexattr_create
Close Help