C++ Logo


Advanced search

Re: Synchronization of atomic notify and wait

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 20 Jul 2022 16:01:34 -0700
On Wednesday, 20 July 2022 07:39:53 PDT language.lawyer--- via Std-Discussion
> > You should understand the notify() as a non-value modification.
> You mean, it participates in the modification order of the atomic object?


> > An implementation that fails like you'd described in the previous
> > paragraph would be defective.
> But only from the QoI POV, right?

No, it actually fails to implement the wording required by the standard. It's
not a quality issue -- quality is when it does the correct thing, but possibly

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2022-07-20 23:01:35