Skip to content

Commit

Permalink
Update iceoryx_hoofs/concurrent/buffer/include/iox/detail/spsc_sofi.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Mathias Kraus <[email protected]>
  • Loading branch information
albtam and elBoberido authored Mar 20, 2024
1 parent 9f8abea commit 1892aa0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1892aa0

Please sign in to comment.