C++ Logo

std-proposals

Advanced search

Re: [std-proposals] atomic_compare_exchange_and_notify

From: Andrey Semashev <andrey.semashev_at_[hidden]>
Date: Fri, 16 Jan 2026 01:30:32 +0300
On 15 Jan 2026 23:11, Ryan P. Nicholl wrote:
>> If you're having in mind a specific usage scenario involving std::latch,
> where one of the waiters destroys the latch as soon as it wakes up, then
> that would be an error of the user of std::latch.
>
> The standard explicitly says this is allowed and well defined behavior.

Could you point to the specific standard wording that says this?

Received on 2026-01-15 22:30:35