aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-25 10:27:49 +0200
committerMartin Ridgers <[email protected]>2021-10-25 22:50:43 +0200
commit783c8255be9dc79f3bc05026300d20195f879e0d (patch)
treec6a9ee223c551446c5ddf27f464513de87e85f91 /zencore/include
parentpthread implementation for naming a thread (diff)
downloadzen-783c8255be9dc79f3bc05026300d20195f879e0d.tar.xz
zen-783c8255be9dc79f3bc05026300d20195f879e0d.zip
Added a zen::GetCurrentThreadId()
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/thread.h b/zencore/include/zencore/thread.h
index 48a58a261..3feb12936 100644
--- a/zencore/include/zencore/thread.h
+++ b/zencore/include/zencore/thread.h
@@ -174,6 +174,7 @@ private:
ZENCORE_API bool IsProcessRunning(int pid);
ZENCORE_API int GetCurrentProcessId();
+ZENCORE_API int GetCurrentThreadId();
ZENCORE_API void Sleep(int ms);