diff options
Diffstat (limited to 'zen/thread.h')
-rw-r--r-- | zen/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zen/thread.h b/zen/thread.h index 27e23b4a..290baac5 100644 --- a/zen/thread.h +++ b/zen/thread.h @@ -72,6 +72,7 @@ void interruptibleSleep(const std::chrono::duration<Rep, Period>& relTime); //th void setCurrentThreadName(const Zstring& threadName); + bool runningOnMainThread(); //------------------------------------------------------------------------------------------ |