MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
broadcaster.hpp File Reference
Include dependency graph for broadcaster.hpp:

Go to the source code of this file.

Classes

struct  mtcore::thread::BroadcastSubscription< T >
 A subscription to a broadcaster. More...
 
struct  mtcore::thread::broadcaster< T >
 A broadcaster is able to send messages to multiple channels, with each channel having its own lock Sending messages requires locking the entire broadcaster. More...
 

Namespaces

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.
 

Enumerations

enum class  mtcore::thread::BroadcastSubscribeError { mtcore::thread::BroadcastSubscribeError::CHANNEL_CLOSED , mtcore::thread::BroadcastSubscribeError::ALLOCATION_FAILED , mtcore::thread::BroadcastSubscribeError::CANNOT_ACQUIRE }
 Errors when getting a broadcast subscription. More...