Add method to get whether current thread is non-main

This commit is contained in:
Jonathan G Rennison
2018-08-26 22:13:20 +01:00
parent dde88887ae
commit 79644493c9
6 changed files with 19 additions and 0 deletions

View File

@@ -199,5 +199,6 @@ private:
void SetSelfAsMainThread() { }
bool IsMainThread() { return false; }
bool IsNonMainThread() { return false; }
int GetThreadName(char *str, const char *last) { return 0; }