qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::CoreSpawnerParameter Struct Reference

Internal structure for passing parameters to core spawning functions. More...

#include <Main.h>

Collaboration diagram for qb::CoreSpawnerParameter:

Public Attributes

const CoreId id
 The CoreId of the VirtualCore being spawned.
CoreInitializerinitializer
 Reference to the CoreInitializer for this core.
SharedCoreCommunicationshared_com
 Reference to the shared communication infrastructure.
std::atomic< uint64_t > & sync_start
 Atomic counter for synchronizing core startup.

Detailed Description

Internal structure for passing parameters to core spawning functions.

This structure encapsulates the parameters needed when spawning a new VirtualCore. It contains the core's ID, reference to its initializer, the shared communication infrastructure, and synchronization primitives to coordinate startup.