pthread_condattr_delete(3-thr) pthread_condattr_delete(3-thr)
NAME
pthreadcondattrdelete - deletes a condition variable attributes
object
SYNOPSIS
#include <pthread.h>
int pthreadcondattrdelete(pthreadcondattrt *attr);
PARAMETERS
attr Condition variable attributes object deleted.
DESCRIPTION
The pthreadcondattrdelete() routine deletes a condition variable
attributes object. Call this routine when a condition variable attri-
butes object created by pthreadcondattrcreate() is no longer refer-
enced.
This routine gives permission to reclaim storage for the condition
variable attributes object. Condition variables that are created using
this attributes object are not affected by the deletion of the condi-
tion variable attributes object.
The results of calling this routine are unpredictable if the handle
specified by the attr parameter refers to an attributes object that
does not exist.
RETURN VALUES
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadcondattrcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98