qb
2.0.0.0
C++17 Actor Framework
|
Manages inter-core communication infrastructure (mailboxes). More...
#include <Main.h>
Public Member Functions | |
SharedCoreCommunication (CoreInitializerMap const &core_initializers) noexcept | |
bool | send (Event const &event) const noexcept |
Send an event to the mailbox of its destination VirtualCore. | |
Mailbox & | getMailBox (CoreId id) const noexcept |
Get the mailbox for a specific VirtualCore. | |
CoreId | getNbCore () const noexcept |
Get the number of VirtualCores configured in the system. |
Manages inter-core communication infrastructure (mailboxes).
This class is an internal component of qb::Main. It sets up and owns the MPSC mailboxes used by VirtualCores to send events to each other. It is not typically interacted with directly by application code.