Email List: Xaustin-review-lX
[All Lists]

Defect in XBD 3.297 Process Termination

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD 3.297 Process Termination
From: yyyyyyyy@xxxxxxxxxx
Date: Tue, 12 Nov 2002 13:37:44 GMT
        Defect report from : Alexander Terekhov , IBM

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 74 line 2438,2441 section 3.297 Process Termination comment 
{alt-3.297-2002-11-12}

Problem:

Defect code :  2. Omission

The "3.297 Process Termination" definition doesn't mention the 
``passive exit'' on termination of the last thread. Well, it 
also doesn't mention the _Exit() function. It should be updated.


Action:

A) Replace

2437 1. Normal termination occurs by a return from main() or when requested 
with the exit() or
2438 _exit() functions.

with

2437 1. Normal termination occurs by a return from main() or when requested 
with the exit() or
2438 _exit() or _Exit() functions or on the last thread termination when the 
behavior is as if 
     the implementation called exit() with a zero argument at thread 
termination time.

(or something like that)

B) Add "_Exit(), " to 2441:

2441 Note: The _exit(), _Exit(), abort(), and exit() functions are defined in 
detail in the System Interfaces volume
2442 of IEEE Std 1003.1-2001.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XBD 3.297 Process Termination, terekhov <=