[libc-commits] [PATCH] D120642: [libc] Add a class "Atomic" as a simple equivalent of std::atomic.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sun Feb 27 20:28:08 PST 2022
sivachandra created this revision.
sivachandra added reviewers: abrachet, lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.
Only the methods currently required by the libc have been added.
Most of the existing uses of atomic operations have been switched over
to this new class. A future change will clean up the rest of uses.
This change now allows building mutex and condition variable code with a
C++ compiler which does not have stdatomic.h, for example g++.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11819 bytes
Desc: not available
More information about the libc-commits