pthread_condattr_destroy

Frees an attribute object for a condition variable.

Library:LibC
Classification:POSIX
Service:Synchronization

Syntax

  #include <pthread.h>
   
  int   pthread_condattr_destroy   (
     pthread_condattr_t   *attr);
  

Parameters

attr

(IN) Points to the attribute object to destroy.

Return Values

Returns zero; no error coditions have been defined.

Remarks

The pthread_condattr_destroy function destroys the attribute object.

See Also