Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_condattr_create(3)

pthread_condattr_delete(3)  —  Subroutines

Digital

NAME

pthread_condattr_delete − Deletes a condition variable attributes object. 

SYNOPSIS

#include <pthread.h>
int pthread_condattr_delete(

pthread_condattr_t ∗attr );

PARAMETERS

attrCondition variable attributes object deleted. 

DESCRIPTION

This routine deletes a condition variable attributes object. Call this routine when a condition variable attributes object created by pthread_condattr_create will no longer be referenced. 

This routine gives permission to reclaim storage for the condition variable attributes object. Condition variables that are created using this attributes object are not affected by the deletion of the condition variable attributes object. 

The results of calling this routine are unpredictable if the handle specified by the attr parameter refers to an attributes object that does not exist. 

RETURN VALUES

Possible return values are as follows:

Return Error Description
 0 Successful completion.

RELATED INFORMATION

pthread_condattr_create(3)

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