tay64
tay64
This also affects **Windows/MINGW**. (This issue's title happens to be too narrow, I almost _not_ looked here before submitting a duplicate :) ) [EDIT: deleted some premature conclusions. My attempts...
I'm not sure either -- I know too little about Rust and about SixtyFPS. My idea for my further research is to look into the content of `sixtyfps_macros` and attempt...
Without `Release`, wouldn't another thread executing `take` concurrently get a copy of the previously-stored pointer before it has a chance to see the change made by the first thread?
Are you sure about that? (better yet, can you point to any sources confirming that?) I do not claim to be an expert, but my understanding is that atomicity only...
Atomic swap changes nothing for this question, because from the hardware point of view it consists of a load and a store. Viewing load and store as a single operation...
Here, I drawn a better illustration. ``` Thread 1 Thread 2 (A) store(&42, Release) (B) ptr1 = load_store(None, Acquire) (C) ptr2 = load_store(None, Acquire) ``` Because (A) is Release and...
> I didn't think I would need to cite a source for "atomic swap is an atomic operation", but I guess here we are. Atomicity and memory ordering are orthogonal;...