The Open Group Library

Extended API Set, Part 3

Extended API Set, Part 3

Reference: C064

$0.00

Availability: Available to download

This set of interfaces includes pthread_mutex_consistent(), pthread_mutexattr_getrobust(), and pthread_mutexattr_setrobust(). It also alters the behavior of several other existing mutex APIs, essentially by adding the EOWNERDEAD error return.
Description

Details

This document has been prepared by The Open Group Base Working Group. Four API sets have been developed and submitted to the Austin Group as input to the revision of the Base Specifications, Issue 6.

This third set of interfaces includes pthread_mutex_consistent(), pthread_mutexattr_getrobust(), and pthread_mutexattr_setrobust(). It also alters the behavior of several other existing mutex APIs, essentially by adding the EOWNERDEAD error return.

Robust mutexes are introduced in this set of new interfaces. A robust mutex is simply a mutex with a special robust bit set in its attributes. Whenever a thread that owns a robust mutex terminates, current or future waiters on that mutex will be notified that the owner is dead. Another thread then has the opportunity to take over and clean up the state that was protected by the mutex and to make the mutex once again consistent.

Additional Information

Additional Information

Reference C064
US ISBN 1931624682
Published 26 Oct 2006
Pages 24
Type Standards
Subject Single UNIX Specification
Standards Information

Standards Information Base

Common Name Extended API Set, Part 3
Status Adopted
Service Category Operating System Services
Service Kernel Operations
Type The Open Group Standard
Usage Robust mutexes are introduced in this set of new interfaces. A robust mutex is simply a mutex with a special robust bit set in its attributes. Whenever a thread that owns a robust mutex terminates, current or future waiters on that mutex will be notified that the owner is dead. Another thread then has the opportunity to take over and clean up the state that was protected by the mutex and to make the mutex once again consistent.
Reviews