Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pthread_mutexattr_delete(3thr)

Name

pthread_mutexattr_delete − Deletes a mutex attributes object

Syntax

#include <pthread.h>

int pthread_mutexattr_delete (attr)
pthread_mutexattr_t *attr;

Arguments

attr Attributes object deleted. 

Description

This 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 attributes 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 argument does not exist. 

Return Values

Possible return values are as follows. 

Return Error Description
0 Successful completion. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026