[libc-commits] [PATCH] D120642: [libc] Add a class "Atomic" as a simple equivalent of std::atomic.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Feb 28 06:52:03 PST 2022
lntue added inline comments.
================
Comment at: libc/include/llvm-libc-types/mtx_t.h:13
typedef struct {
- unsigned char __internal_data[4];
+#if defined(__x86_64__) || defined(__arch64__)
+ // Futex word should be aligned appropriately to allow target atomic
----------------
`__aarch64__`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120642/new/
https://reviews.llvm.org/D120642
More information about the libc-commits
mailing list