|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Implementation of PsySpace, TimeQueue and TimeQueueSchedule (see PsySpace.h). More...
Go to the source code of this file.
Classes | |
| struct | cmlabs::ShutdownInProgressMark |
| struct | cmlabs::DeliveryOrderHold |
Namespaces | |
| namespace | cmlabs |
Functions | |
| static std::mutex & | cmlabs::ShutdownInProgressMutex () |
| static std::multiset< PsySpace * > & | cmlabs::ShutdownInProgress () |
| static bool | cmlabs::IsShuttingDown (PsySpace *s) |
| 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. | |
Variables | |
| static utils::Mutex * | cmlabs::DeliveryOrderMutex = new utils::Mutex() |
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.