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
There's no reason for the Release in the store above, and this can be changed to Relaxed, as there are no writes to the shared data occurring prior to the store operation. We know this because of core::ptr::read:
Reads the value from src without moving it. This leaves the memory in src unchanged.
The text was updated successfully, but these errors were encountered:
async-heapless/src/oneshot.rs
Line 180 in 835ae89
There's no reason for the
Release
in thestore
above, and this can be changed toRelaxed
, as there are no writes to the shared data occurring prior to thestore
operation. We know this because ofcore::ptr::read
:The text was updated successfully, but these errors were encountered: