openMSX
Namespaces | Functions
Thread.cc File Reference
#include "Thread.hh"
#include <cassert>
#include <thread>
Include dependency graph for Thread.cc:

Go to the source code of this file.

Namespaces

 openmsx::Thread
 

Functions

void openmsx::Thread::setMainThread ()
 Store ID of the main thread, should be called exactly once from the main thread. More...
 
bool openmsx::Thread::isMainThread ()
 Returns true when called from the main thread. More...