![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Thread-safe queue implementation with optional bounded capacity. More...
#include "irsol/assert.hpp"
#include <condition_variable>
#include <mutex>
#include <optional>
#include <queue>
Go to the source code of this file.
Classes | |
class | irsol::utils::SafeQueue< T > |
A thread-safe, optionally bounded queue with blocking push and pop operations. More... | |
Namespaces | |
namespace | irsol |
namespace | irsol::utils |
Contains general utility functions used throughout the irsol library. | |
Thread-safe queue implementation with optional bounded capacity.
This header defines the SafeQueue
template class, which provides a thread-safe queue with blocking push/pop operations and optional maximum size bounding. It is designed for safe communication between one producer and one consumer thread.
Definition in file queue.hpp.