Investigate acquire barrier on load zero #1

Closed
opened 2026-05-16 22:35:58 +00:00 by andrew · 1 comment
Owner

uint32_t decrement_strong() noexcept {

We may only need an acquire barrier when loading zero. Check codegen on x86 and arm to see if it’s even different

https://git.weaselab.dev/weaselab/weaseldb/src/commit/f458c6b249b9f05e758ec6e530b6d69c030078b0/src/reference.hpp#L58 We may only need an acquire barrier when loading zero. Check codegen on x86 and arm to see if it’s even different
Author
Owner

TSAN does not currently support std::atomic_thread_fence

TSAN does not currently support std::atomic_thread_fence
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weaselab/weaseldb#1