Title
Effects of thread support on object lifetime
Status
nad
Section
6.7.3 [basic.life]
Submitter
Hans Boehm

Created on 2010-03-11.00:00:00 last changed 166 months ago

Messages

Date: 2010-08-15.00:00:00

Rationale (August, 1020):

The text is already in the FCD.

Date: 2022-11-20.07:54:16

6.7.3 [basic.life] was never adjusted for threads. In particular, it describes what may be done with objects in various intervals. In general when the Standard uses words like “during,” it is referring to intervals defined by “sequenced before” ordering. In this context, however, all the specifications need to use the “happens before” ordering.

Suggested resolution:

Add the following at the beginning of 6.7.3 [basic.life]:

All statements about the ordering of evaluations in this section, using words like “before,” “after,” and “during,” refer to the “happens before” order defined in 6.9.2 [intro.multithread]. [Note: We ignore situations in which evaluations are unordered by “happens before,” since these require a data race (6.9.2 [intro.multithread]), which already results in undefined behavior. —end note]
History
Date User Action Args
2010-08-23 00:00:00adminsetmessages: + msg2939
2010-08-23 00:00:00adminsetstatus: open -> nad
2010-03-11 00:00:00admincreate