[libc-commits] [libc] [libc] Replace usage of GPU helpers with ones from 'gpuintrin.h' (PR #116454)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Fri Nov 15 20:16:00 PST 2024
================
@@ -67,18 +76,18 @@ template <bool Invert> struct Process {
LIBC_INLINE ~Process() = default;
uint32_t port_count = 0;
- cpp::Atomic<uint32_t> *inbox = nullptr;
- cpp::Atomic<uint32_t> *outbox = nullptr;
+ uint32_t *inbox = nullptr;
----------------
jhuber6 wrote:
It's internal to the class, so we don't need to worry about anything external. If someone in the future modifies this I'll hope that they see that every access to this is atomic and that there's atomic in the comments.
https://github.com/llvm/llvm-project/pull/116454
More information about the libc-commits
mailing list