Defect report from : Loic Domaigne , Personal Interest
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 1091 line 34280 section pthread_mutexattr_destroy comment
{pthread_mutexattr_init, issue EBUSY}
Problem:
Edition of Specification (Year): 2003
Defect code : 2. Omission
References are given against TC1.
In lines 34272-34273, it is said that:
| results are undefined if pthread_mutexattr_init() is called
| specifying an already initialized attr attributes object.
However, the standard doesn't define any optional checking for this error.
Action:
At l34280-34285 (§ERRORS), add:
The pthread_mutexattr_init() may fail if:
[EBUSY]
The implementation has detected an attempt to reinitialize the mutex
attribute object referenced by attr, a previously initialized,
but not yet destroyed, attribute object.
|