openMSX
thread
Thread.hh
Go to the documentation of this file.
1
#ifndef THREAD_HH
2
#define THREAD_HH
3
4
namespace
openmsx::Thread
{
5
6
// For debugging only
10
void
setMainThread
();
11
14
[[nodiscard]]
bool
isMainThread
();
15
16
}
// namespace openmsx::Thread
17
18
#endif
openmsx::Thread
Definition
Thread.cc:5
openmsx::Thread::setMainThread
void setMainThread()
Store ID of the main thread, should be called exactly once from the main thread.
Definition
Thread.cc:9
openmsx::Thread::isMainThread
bool isMainThread()
Returns true when called from the main thread.
Definition
Thread.cc:15
Generated on Sat Dec 21 2024 14:13:52 for openMSX by
1.9.8