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
The UniqueIndexSet uses fences to synchronize next_free_index. The memory order of the fences is wrong and needs to be changed. It needs to be Ordering::Release in acquire_raw_index and Ordering::Acquire in release_raw_index.
Expected result or behaviour:
Proper ordering for the fences.
Conditions where it occurred / Performed steps:
If the index is send to another thread via a relaxed atomic operation, a reordering can happen.
The text was updated successfully, but these errors were encountered:
Required information
Operating system:
all
Rust version:
all
Cargo version:
all
iceoryx2 version:
main
branchObserved result or behaviour:
The
UniqueIndexSet
uses fences to synchronizenext_free_index
. The memory order of the fences is wrong and needs to be changed. It needs to beOrdering::Release
inacquire_raw_index
andOrdering::Acquire
inrelease_raw_index
.Expected result or behaviour:
Proper ordering for the fences.
Conditions where it occurred / Performed steps:
If the index is send to another thread via a relaxed atomic operation, a reordering can happen.
The text was updated successfully, but these errors were encountered: