| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XSH 2.9.5.3 Thread Cancelation Cleanup Handlers |
| From: | yyyyyyyy@xxxxxxxxxx |
| Date: | Fri, 4 Apr 2003 15:50:45 +0100 (BST) |
Defect report from : Alexander Terekhov , IBM
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 57 line 2342-2343 section 2.9.5.3 Thread Cancelation Cleanup Handlers
comment {alt-2.9.5.3-2003-04-04}
Problem:
Defect code : 3. Clarification required
The standard says:
<quote source=2342-2343>
The thread invokes the cancelation cleanup handler with cancelation
disabled until the last cancelation cleanup handler returns.
</quote>
To me, it doesn't say anything "specific enough" with respect to the
VALUES of cancelability TYPE and STATE. Also, I don't quite follow
"until the last cancellation cleanup handler returns" clause above.
Surely, we do NOT want cancellation be enabled ("by default", I mean;
enabling-it-for-something...catching-and-finalizing-pthread_cancel_e-
exception aside for a moment ;-) ) in our TSD destructors (and no
matter whether thread termination was caused by the cancel delivery
or it is "just normal" termination -- either explicit or implicit
call to pthread_exit()).
Action:
Remove completely 2342-2343 wording quoted above and apply the
proposed changes (additions) that are stated in the defect reports
"alt-pthread_cancel-2003-04-04" and "alt-pthread_exit-2003-04-04".
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XBD Referenced Documents, drepper |
|---|---|
| Next by Date: | Defect in XSH pthread_cancel -- cancel execution of a thread, terekhov |
| Previous by Thread: | Defect in XBD Referenced Documents, drepper |
| Next by Thread: | Defect in XSH pthread_cancel -- cancel execution of a thread, terekhov |
| Indexes: | [Date] [Thread] [All Lists] |