mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-27 22:47:48 +01:00
Add memory order relaxed
This commit is contained in:
1 parent
1174a2997a
commit
0fcec1c808
1 file changed
+1
-1
@@ -86,7 +86,7 @@ void ImageAssembler::process(
|
||||
image_offset += image_offset_step;
|
||||
}
|
||||
|
||||
buffer_status_[slot_id].fetch_sub(1);
|
||||
buffer_status_[slot_id].fetch_sub(1, memory_order_relaxed);
|
||||
}
|
||||
|
||||
void ImageAssembler::free_slot(const uint64_t bunch_id)
|
||||
|
||||
Reference in new issue
Block a user