qb
2.0.0.0
C++17 Actor Framework
|
Defines the VirtualCore class, representing a worker thread in the QB Actor Framework. More...
#include <iostream>
#include <set>
#include <thread>
#include <vector>
#include <qb/system/allocator/pipe.h>
#include <qb/system/container/unordered_map.h>
#include <qb/system/event/router.h>
#include <qb/system/lockfree/mpsc.h>
#include <qb/system/timestamp.h>
#include "Actor.h"
#include "Event.h"
#include "ICallback.h"
#include "Main.h"
#include "Pipe.h"
Go to the source code of this file.
Classes | |
class | qb::VirtualCore |
Manages a virtual processing core (worker thread) in the actor system. More... |
Functions | |
std::ostream & | qb::operator<< (std::ostream &os, qb::VirtualCore const &core) |
Defines the VirtualCore class, representing a worker thread in the QB Actor Framework.
This file contains the definition for the VirtualCore class, which is a fundamental component of the QB Actor Framework. Each VirtualCore instance typically runs in its own thread and is responsible for managing the lifecycle and event processing for a set of actors assigned to it. It handles event queues, inter-core communication via mailboxes, and the execution of actor event handlers.
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.