Chops Net IP
Loading...
Searching...
No Matches

Utility class to manage output data queueing. More...

#include <queue>
#include <cstddef>
#include <optional>
#include "net_ip/queue_stats.hpp"
Include dependency graph for output_queue.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  chops::net::detail::output_queue< E >
 

Detailed Description

Utility class to manage output data queueing.

Concurrency protection is needed at a higher level to enforce data structure and flag consistency for data sending, as well as to ensure that only one write is in process at a time. There are multiple ways to accomplish this goal, whether with locks (mutex or spin-lock or semaphore, etc), or by posting all write operations through the asio executor.

Note
For internal use only.
Author
Cliff Green

Copyright (c) 2017-2025 by Cliff Green

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)