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

4348. task doesn't support symmetric transfer

Section: 33.13.6.2 [task.class] Status: New Submitter: Dietmar Kühl Opened: 2025-09-01 Last modified: 2025-09-01

Priority: Not Prioritized

View other active issues in [task.class].

View all other issues in [task.class].

View all issues with New status.

Discussion:

The specification of task doesn't require symmetric transfer which can help with stack overflow. Also, when another task is co_awaited the scheduler on which the task resumes is known and can be used to avoid unnecessary scheduling by comparing the scheduler currently installed by in two tasks involved.

Proposed resolution: