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)

NAME

pthread_mutexattr_delete - Deletes a mutex attributes object

SYNOPSIS

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

PARAMETERS

attrMutex attributes object deleted. 

DESCRIPTION

The pthread_mutexattr_delete() 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

If the function fails, errno may be set to one of the following values:

Return Error Description
0 Successful completion.
\-1 [EINVAL] The value specified by attr is invalid.

RELATED INFORMATION

Functions:  pthread_mutexattr_create(3). 

Hewlett-Packard Company  —  OSF DCE 1.1/HP DCE 1.5

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