C++ Logo

std-proposals

Advanced search

Re: [std-proposals] int Func(void) noreentry(-1)

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 14 Feb 2023 22:46:54 -0800
On Tuesday, 14 February 2023 08:35:27 PST Frederick Virchanza Gotham via Std-
Proposals wrote:
> In my 3 or 4 emails earlier today I used an 'std::atomic_flag' for this job.

atomic_flag is unlikely to be the correct solution. A mutex would is more
likely.

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

Received on 2023-02-15 06:46:57