Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
spsc_queue.hpp File Reference

Lock-free single-producer single-consumer queue, between two threads. More...

#include <atomic>
#include <cstddef>
#include <limits>
#include <optional>
#include <stdexcept>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::core::SpscQueue< T >
 Fixed-capacity FIFO queue passing values from one thread to another without locks. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::core
 Logging, time, main loop, events and configuration shared by client and server.
 

Detailed Description

Lock-free single-producer single-consumer queue, between two threads.