VMS Help  —  DCE  DCE_THREADS, Application Routines, pthread_attr_delete
 NAME

    pthread_attr_delete - Deletes a thread attributes object

 SYNOPSIS

     #include <pthread.h>

     int pthread_attr_delete(pthread_attr_t *attr);

 PARAMETERS

     attr                Thread attributes object deleted.

 DESCRIPTION

 The pthread_attr_delete() routine deletes a thread attributes object and
 gives permission to reclaim storage for the thread attributes object.
 Threads that were created using this thread attributes object are not
 affected by the deletion of the thread attributes object.

 The results of calling this routine are unpredictable if the value
 specified by the attr parameter refers to a thread attributes object
 that 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_attr_create
Close Help