1364. It is not clear how exception_ptr is synchronized

Section: 17.9.7 [propagation] Status: Resolved Submitter: Switzerland Opened: 2010-08-25 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [propagation].

View all issues with Resolved status.


Addresses CH-19

It is not clear how exception_ptr is synchronized.

[ Resolution proposed by ballot comment ]

Make clear that accessing in different threads multiple exception_ptr objects that all refer to the same exception introduce a race.

[2011-03-08: Lawrence comments and drafts wording]

I think fundamentally, this issue is NAD, but clarification would not hurt.

Proposed resolution

Add a new paragraph to 17.9.7 [propagation] after paragraph 6 as follows:

[Note: Exception objects have no synchronization requirements, and expressions using them may conflict (6.9.2 [intro.multithread]). — end note]

Proposed resolution:

Resolved 2011-03 Madrid meeting by paper N3278