C++ Logo

std-discussion

Advanced search

Re: Synchronization of atomic notify and wait

From: language.lawyer_at <language.lawyer_at_[hidden]>
Date: Thu, 21 Jul 2022 07:36:08 +0500
On 21/07/2022 04:01, Thiago Macieira via Std-Discussion wrote:
> On Wednesday, 20 July 2022 07:39:53 PDT language.lawyer--- via Std-Discussion
> wrote:
>>> You should understand the notify() as a non-value modification.
>>
>> You mean, it participates in the modification order of the atomic object?
>
> Yes.

I don't think I've ever seen something other than side-effects writing some value participating in the modification order.

Received on 2022-07-21 02:36:15