C++ Logo

std-proposals

Advanced search

Re: Restrict possible values of CHAR_BIT

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 28 Oct 2019 10:09:42 -0700
On Monday, 28 October 2019 09:10:14 PDT Thiago Macieira via Std-Proposals
wrote:
> Obviously, atomic_uint8_t, atomic_char, atomic_uchar, atomic_char8_t would
> not exist.

Never mind the last. They can be emulated with a lock. Maybe an RMW on the
larger word works too, I don't know if that introduces ABA problems.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-10-28 12:12:00