C++ Channel
Loading...
Searching...
No Matches
include
msd
static_channel.hpp
Go to the documentation of this file.
1
// Copyright (C) 2020-2025 Andrei Avram
2
3
#ifndef MSD_CHANNEL_STATIC_CHANNEL_HPP_
4
#define MSD_CHANNEL_STATIC_CHANNEL_HPP_
5
6
#include "
channel.hpp
"
7
#include "
storage.hpp
"
8
9
#include <cstdlib>
10
13
namespace
msd {
14
27
template
<
typename
T, std::
size_t
Capacity>
28
using
static_channel
=
channel<T, array_storage<T, Capacity>
>;
29
30
}
// namespace msd
31
32
#endif
// MSD_CHANNEL_STATIC_CHANNEL_HPP_
channel.hpp
msd::channel
Thread-safe container for sharing data between threads.
Definition
channel.hpp:87
storage.hpp
Generated by
1.9.8