Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_attr_delete(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_attr_create(3)

pthread_attr_delete(3)  —  Subroutines

NAME

pthread_attr_delete − Deletes a thread attributes object. 

SYNOPSIS

#include <pthread.h>
int pthread_attr_delete(

pthread_attr_t ∗attr );

PARAMETERS

attrThread attributes object deleted. 

DESCRIPTION

This routine deletes a thread attributes object.  This routine gives permission to reclaim storage for the thread attributes object.  Threads that were created using this thread attributes object are not affected by the deletion of the thread attributes object. 

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

RETURN VALUES

If an error condition occurs, this routine returns –1 and sets errno to the corresponding error value. Possible return values are as follows:

Return Error Description
 0 Successful completion.
–1 [ENOMEM] Insufficient memory exists to create the thread attributes object. 
–1 [EINVAL] The value specified by attr is invalid.
–1 [ESRCH] The value specified by attr does not refer to an existing thread attributes object. 

 

RELATED INFORMATION

pthread_attr_create(3)

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