12345678910111213141516171819 |
- #ifndef THREAD_HH
- #define THREAD_HH
- namespace openmsx::Thread {
- // For debugging only
- /** Store ID of the main thread, should be called exactly once from
- * the main thread.
- */
- void setMainThread();
- /** Returns true when called from the main thread.
- */
- bool isMainThread();
- } // namespace openmsx::Thread
- #endif
|