From d2b229d227268db7ca9264f2a914a7caf089401c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 18 Feb 2012 17:43:20 +0000 Subject: cIsThread: Added support for getting current thread ID git-svn-id: http://mc-server.googlecode.com/svn/trunk@288 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cIsThread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cIsThread.h') diff --git a/source/cIsThread.h b/source/cIsThread.h index fda789d3a..55bb62a11 100644 --- a/source/cIsThread.h +++ b/source/cIsThread.h @@ -37,6 +37,8 @@ public: bool Start(void); // Starts the thread bool Wait(void); // Waits for the thread to finish + static unsigned long GetCurrentID(void); // Returns the OS-dependent thread ID for the caller's thread + private: AString mThreadName; -- cgit v1.2.3