Title
Thread safety of std::uncaught_exception()
Status
c++11
Section
[depr.uncaught]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 154 months ago

Messages

Date: 2010-11-24.14:01:03

Proposed resolution:

Change [uncaught] p. 1 as follows:

Returns: true after the current thread has initialized initializing an exception object (15.1) until a handler for the exception (including unexpected() or terminate()) is activated (15.3). [ Note: This includes stack unwinding (15.2). — end note ]

Date: 2010-11-24.14:01:03

[ Adopted at 2010-11 Batavia ]

Date: 2010-11-11.22:36:53

[ 2010 Batavia Concurrency group provides a Proposed Resolution ]

Date: 2010-10-24.22:33:31

[ Resolution proposed by ballot comment ]

Update this clause to support safe calls from multiple threads without placing synchronization requirements on the user.

Date: 2010-10-24.03:04:13

Addresses GB-73

The thread safety std::uncaught_exception() and the result of the function when multiple threads throw exceptions at the same time are unspecified. To make the function safe to use in the presence of exceptions in multiple threads the specification needs to be updated.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-11-24 14:01:03adminsetmessages: + msg5428
2010-11-14 13:10:57adminsetstatus: voting -> wp
2010-11-13 01:17:02adminsetstatus: open -> voting
2010-11-13 01:11:40adminsetstatus: immediate -> open
2010-11-11 22:36:53adminsetmessages: + msg5342
2010-11-11 22:36:53adminsetmessages: + msg5341
2010-11-11 22:36:53adminsetstatus: open -> immediate
2010-10-24 22:33:31adminsetmessages: + msg5072
2010-10-24 03:04:13adminsetmessages: + msg4897
2010-08-25 00:00:00admincreate