Add memory order relaxed

This commit is contained in:
2020-06-03 14:47:59 +02:00
parent 1174a2997a
commit 0fcec1c808
+1 -1
View File
@@ -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)