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

Defect in XBD 3.297

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD 3.297
From: yyyyyyyyyyyyyy@xxxxxx
Date: Tue, 12 Nov 2002 13:09:04 GMT
        Defect report from : David Butenhof , HP

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 74 line 2437 section 3.297 objection {drb.6.exit.def}

Problem:

Defect code :  2. Omission

"Normal termination" is defined as:

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

This is incorrect: it omits the C99 addition of _Exit(), and also the provision 
for process exit when the last thread terminates.

Action:

Replace item 1 (lines 2437 and 2438) as follows:

1. Normal termination occurs by a return from main(), when requested with the 
exit(), _exit(), or _Exit() functions; or when the last thread in the process 
terminates by returning from its start function, by calling the pthread_exit() 
function, or through cancellation.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XBD 3.297, David.Butenhof <=