You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be checking if low == usize::MAX as u64 not low == 0. Should be harmless cause our uses of it shouldn't care about the value, only that its a fresh one each time, but when I fix it some tests fail, so opening this in the hopes someone else does the work.
Id like to try this issue! I have a question tho, is there a specific reason that the atomic counter in lightning/src/util/atomic_counter.rs contains two AtomicUsizes, instead of just a single AtomicU64? @TheBlueMatt
Activity
cooltexture1 commentedon Aug 13, 2024
Id like to try this issue! I have a question tho, is there a specific reason that the atomic counter in
lightning/src/util/atomic_counter.rscontains twoAtomicUsizes, instead of just a singleAtomicU64? @TheBlueMattTheBlueMatt commentedon Aug 13, 2024
Not every platform supports atomic u64s.
Simplify and fix `AtomicCounter`
Simplify and fix `AtomicCounter`
Simplify and fix `AtomicCounter`
Simplify and fix `AtomicCounter`
Simplify and fix `AtomicCounter`
Simplify and fix `AtomicCounter`