mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 11:44:15 +02:00
Add memory order relaxed
This commit is contained in:
@@ -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