1365. Thread-safety of handler functions

Section: 17.6.4 [alloc.errors] Status: Resolved Submitter: BSI Opened: 2010-08-25 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all issues with Resolved status.


Addresses GB-71

The thread safety of std::set_new_handler(), std::set_unexpected(), std::set_terminate(), is unspecified making the the functions impossible to use in a thread safe manner.

[ Resolution proposed by ballot comment: ]

The thread safety guarantees for the functions must be specified and new interfaces should be provided to make it possible to query and install handlers in a thread safe way.

[ 2010-10-31 Daniel comments: ]

The proposed resolution of n3122 partially addresses this request. This issue is related to 1366.

[ 2010-Batavia: ]

Resolved by adopting n3189.

Proposed resolution:

Resolved in Batavia by accepting n3189.