CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
PsySpace.cpp File Reference

Implementation of PsySpace, TimeQueue and TimeQueueSchedule (see PsySpace.h). More...

#include "PsySpace.h"
Include dependency graph for PsySpace.cpp:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

THREAD_RET THREAD_FUNCTION_CALL cmlabs::PsySpaceRun (THREAD_ARG arg)
 Main service-thread entry: runs PsySpace::run() for the space passed in arg.
THREAD_RET THREAD_FUNCTION_CALL cmlabs::PsySpacePoolRun (THREAD_ARG arg)
 Pool worker-thread entry: runs PsySpace::threadPoolDispatch() for the space passed in arg.
THREAD_RET THREAD_FUNCTION_CALL cmlabs::PsySpaceContinuousRun (THREAD_ARG arg)
 Continuous-component thread entry: runs PsySpace::runContinuousComponent() for the space passed in arg.

Detailed Description

Implementation of PsySpace, TimeQueue and TimeQueueSchedule (see PsySpace.h).

Contains the space lifecycle (connect/start/shutdown), the thread-pool dispatcher that hands trigger messages to crank callbacks, dynamic loading of crank libraries, signal distribution, and the time-based activation queue.

Definition in file PsySpace.cpp.