This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-04-18


1441. Unclear wording for signal handler restrictions

Section: 6.9.1  [intro.execution]     Status: C++14     Submitter: Alisdair Meredith     Date: 2012-01-06

N3690 comment US 3

[Moved to DR at the February, 2014 meeting as paper N3910.]

The wording of 6.9.1 [intro.execution] paragraph 6 is intended to describe the values of objects upon entry to and exit from the handler — i.e., that signal handler cannot rely on non-atomic objects being in a consistent state upon entry, nor can it reliably set the value of non-atomic objects and expect that they will continue to have those values after the handler exits. However, the wording could be read as saying even during the execution of the handler it cannot set and use non-atomic objects. The wording should be clarified.