Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_mutexattr_create(3)

pthread_mutexattr_delete(3)  —  Subroutines

Digital

NAME

pthread_mutexattr_delete − Deletes a mutex attributes object

SYNOPSIS

#include <pthread.h>
int pthread_mutexattr_delete(

pthread_mutexattr_t ∗attr );

PARAMETERS

attrAttributes 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 parameter does not exist. 

RETURN VALUES

Possible return values are as follows:

Return Error Description
 0 Successful completion.

RELATED INFORMATION

pthread_mutexattr_create(3)

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