openMSX
|
Functions | |
void | setMainThread () |
Store ID of the main thread, should be called exactly once from the main thread. | |
bool | isMainThread () |
Returns true when called from the main thread. | |
bool openmsx::Thread::isMainThread | ( | ) |
Returns true when called from the main thread.
Definition at line 15 of file Thread.cc.
Referenced by openmsx::EventDistributor::deliverEvents(), openmsx::Reactor::enterMainLoop(), openmsx::CPUCore< CPU_POLICY >::exitCPULoopSync(), openmsx::Scheduler::getCurrentTime(), openmsx::Reactor::getMotherBoard(), openmsx::GlobalCliComm::log(), openmsx::Reactor::replaceBoard(), openmsx::Reactor::switchMachine(), and openmsx::GlobalCliComm::~GlobalCliComm().