This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

4075. Thread stability requirement on constructors and destructors

Section: 16.4.4 [utility.requirements] Status: NAD Submitter: Detlef Vollmann Opened: 2024-04-21 Last modified: 2025-11-06

Priority: 3

View all other issues in [utility.requirements].

View all issues with NAD status.

Discussion:

P0260R8 had a requirement for constructors and destructors of concurrent queue value types to return on the same thread where it was called.

During the discussion in Tokyo, SG1 decided this to be a general issue and not specific to concurrent queues.

[2024-06-24; Reflector poll]

Set priority to 3 after reflector poll. Send to SG1.

[Kona 2025-11-06; Status changed: SG1 → NAD.]

SG1 response: It has been determined that this cannot happen. The only facility which can change the thread is co-routines, and they cannot apply to constructors and destructors (yet). There is nothing to be done about this after all.

Proposed resolution: