From 1892aa07406c192bb3ff440b3d8c7ae54faea66a Mon Sep 17 00:00:00 2001 From: albtam <30054037+albtam@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:04:39 +0100 Subject: [PATCH] Update iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp Co-authored-by: Mathias Kraus --- .../concurrent/buffer/include/iox/detail/spsc_sofi.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp b/iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp index 24f6c32da4..0743c433e9 100644 --- a/iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp +++ b/iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp @@ -39,8 +39,8 @@ namespace concurrent /// SpscSoFi is especially designed to provide fixed capacity storage. /// SpscSoFi only allocates memory when created, capacity can be adjusted explicitly. /// @example -/// It's an expected behavior that when push/pop are called concurrently and SpscSoFi is full, 2 -/// elements can be removed +/// It's an expected behavior that when push/pop are called concurrently and SpscSoFi is full, as +/// many elements as specified with 'CapacityValue' can be removed /// 0: Initial situation: /// |--A--|--B--| /// 1. Thread 1 pushes a new element. Since it is an overflowing situation, the overwritten value is