pthread_mutexattr_destroy

Frees a mutex attribute object.

Library:LibC
Classification:POSIX
Service:Synchronization

Syntax

  #include <pthread.h>
   
  int   pthread_mutexattr_destroy  (
     pthread_mutexattr_t   *attr);
  

Parameters

attr

(IN) Points to the mutex attribute object to destroy.

Return Values

Returns zero; no error coditions have been defined.

Remarks

The pthread_mutexattr_destroy function destroys an unused mutex attribute object.

See Also