idle mistake, fetch_add instead load
Closed this issue · 1 comments
marakew commented
zedio/zedio/runtime/multi_thread/idle.hpp
Line 31 in 35d9577
yes may be its more tokio related issues
but anyway
8sileus commented
Yes
Thanks for your reminding, mistakes have been corrected.
A load operation with this memory order performs an acquire operation, a store performs a release operation, and read-modify-write performs both an acquire operation and a release operation, plus a single total order exists in which all threads observe all modifications in the same order