FARGOS/VISTA Object Management Environment Core
..
|
Implementation of OME threads for compiled OIL2 source. More...
#include <OMEthreadCntrl.h>
Public Member Functions | |
OMEthreadNativeOIL2 (OMEthread *t) | |
~OMEthreadNativeOIL2 () | |
virtual void | releaseThread () override |
Release a suspended thread. More... | |
virtual void | suspendThread () override |
Suspend an active thread. More... | |
virtual void | terminateThread () override |
Terminate a thread. More... | |
virtual void | yieldSlice () override |
Yield time slice currently being used by an active thread. More... | |
virtual void | executeSlice () override |
Execute a time slice for an active thread. More... | |
virtual const char * | controllerType () const override |
Return label identifying the type of the thread controller. More... | |
![]() | |
OMEthreadController (OMEthread *t) | |
virtual | ~OMEthreadController () |
Additional Inherited Members | |
![]() | |
class OMEthread * | threadInfo |
uint32_t | exitStatus |
Implementation of OME threads for compiled OIL2 source.
|
explicit |
OMEthreadNativeOIL2::~OMEthreadNativeOIL2 | ( | ) |
|
overridevirtual |
Return label identifying the type of the thread controller.
Implements OMEthreadController.
Reimplemented in OMEthreadInterpretOIL2.
|
overridevirtual |
Execute a time slice for an active thread.
Implements OMEthreadController.
References OMEtickInterval::activeThread, OMEtickInterval::addIntervalCounts(), OMEobject::addTickCount(), OMEthread::callStack, OMEinvocationData::code, OMEinvocationData::data, OMEinvocationData::function, OMEoid::getInstanceInMemory(), OMEcallStack::getThisObject(), OMEthread::getThreadState(), OMEinvocationData::invocationMode, LOG_CERR, LOG_ENDLINE, OMEcallStack::methodBody, OMEtype::oid, OME_EXPECT_FALSE, OME_INVOKE_OIL2_INTERPRET, OME_INVOKE_OIL2_NATIVE, OME_THREAD_KILLED, OMEoil2Interpreter(), OMEtickInterval::startInterval(), OMEtickInterval::stopInterval(), OMEthreadController::threadInfo, OMEthread::threadNowTerminated(), OMEthread::tickInterval, and OMEtype::value.
|
overridevirtual |
Release a suspended thread.
Implements OMEthreadController.
References OMEthread::noteThreadState(), OME_THREAD_RUNNING, OMEqueueOIL2thread(), and OMEthreadController::threadInfo.
|
overridevirtual |
Suspend an active thread.
Implements OMEthreadController.
References OMEthread::noteThreadState(), OME_THREAD_SUSPEND, and OMEthreadController::threadInfo.
|
overridevirtual |
Terminate a thread.
Implements OMEthreadController.
References OMEtickInterval::addIntervalCounts(), OMEthread::callStack, OMEthread::getThreadState(), OMEcallStack::methodBody, OMEtickInterval::noteThreadDead(), OME_EXPECT_TRUE, OME_THREAD_KILLED, OMEtickInterval::stopInterval(), OMEthreadController::threadInfo, OMEthread::threadNowTerminated(), and OMEthread::tickInterval.
|
overridevirtual |
Yield time slice currently being used by an active thread.
Implements OMEthreadController.
![]() | Generated: Fri Jul 31 2020 18:19:16
Support Information |