#include "mtcore/colls/queue.hpp"
#include "mtcore_thread/core.hpp"
#include "mtcore_thread/traits.hpp"
#include <array>
#include <condition_variable>
#include <mutex>
#include <thread>
Go to the source code of this file.
|
struct | mtcore::thread::Channel< T, Size > |
| Channel is a message-passing primitive between two threads A channel has blocking and non-blocking (or auto timed out for a size of 0) methods Timeout methods are also present A channel will have a buffer size for how many messages can be queued up If there is a buffer size of 0, then a reader and writer must both be accessing the channel simultaneously for messages to be transmitted. More...
|
|
|
namespace | mtcore |
| Core library for C++ with Zig-related functionality.
|
|
namespace | mtcore::thread |
| Thread-related namespace The methods and classes provided by this class are thread-safe Classes and methods provided outside of this class are not thread-safe (with the exception of malloc_alloc) This requires linking mtcore_thread to your application.
|
|
◆ MTCORE_THREAD_CHANNELS_HPP
#define MTCORE_THREAD_CHANNELS_HPP |