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