class
SushiEngine::Logging::SpscByteRing
Queues variable-length records between exactly one writer and one reader thread.
- Declared in
engine/foundation/logging/include/SushiEngine/logging/spsc_byte_ring.hpp
Public Methods
SpscByteRing | Allocates the ring once, clamping |
try_write | Appends one record made of |
peek_size | Returns the size of the oldest record, or 0 when the ring is empty. |
read | Copies the oldest record into |
capacity | Returns the ring's clamped capacity in bytes. |

