diff options
author | Paradox <none@none> | 2009-02-09 08:16:34 -0500 |
---|---|---|
committer | Paradox <none@none> | 2009-02-09 08:16:34 -0500 |
commit | d230302b16474ff22a35243ffed6236ef4fc7fb9 (patch) | |
tree | e3679ad841a47b275756f2721f9aa24a3ee548a6 /dep/src/zthread/win32/ThreadOps.h | |
parent | b0694d7e5e794b361fa178d55fefdb98cf47e9ca (diff) |
Replace tabs with spaces in more files.
--HG--
branch : trunk
Diffstat (limited to 'dep/src/zthread/win32/ThreadOps.h')
-rw-r--r-- | dep/src/zthread/win32/ThreadOps.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/dep/src/zthread/win32/ThreadOps.h b/dep/src/zthread/win32/ThreadOps.h index 4a3eeac2ed9..1b3a0bfa174 100644 --- a/dep/src/zthread/win32/ThreadOps.h +++ b/dep/src/zthread/win32/ThreadOps.h @@ -37,7 +37,7 @@ class Runnable; * @date <2003-07-16T23:33:59-0400> * @version 2.2.8 * - * This class is an abstraction used to perform various operations on a + * This class is an abstraction used to perform various operations on a * native WIN32 thread. */ class ThreadOps { @@ -53,11 +53,11 @@ class ThreadOps { public: - const static ThreadOps INVALID; + const static ThreadOps INVALID; /** - * Create a new ThreadOps to represent a native thread. - */ + * Create a new ThreadOps to represent a native thread. + */ ThreadOps() : _tid(0), _hThread(NULL) {} @@ -65,7 +65,7 @@ class ThreadOps { return _tid == ops._tid; } - + static ThreadOps self() { return ThreadOps(::GetCurrentThreadId()); } @@ -73,7 +73,7 @@ class ThreadOps { /** * Update the native tid for this thread so it matches the current * thread. - */ + */ static void activate(ThreadOps* ops) { assert(ops); @@ -84,7 +84,7 @@ class ThreadOps { } /** - * Test if this object representative of the currently executing + * Test if this object representative of the currently executing * native thread. * * @return bool true if successful @@ -105,7 +105,7 @@ class ThreadOps { static bool join(ThreadOps*); /** - * Force the current native thread to yield, letting the scheduler + * Force the current native thread to yield, letting the scheduler * give the CPU time to another thread. * * @return bool true if successful @@ -113,7 +113,7 @@ class ThreadOps { static bool yield(); /** - * Set the priority for the native thread if supported by the + * Set the priority for the native thread if supported by the * system. * * @param PRIORITY requested priority @@ -122,7 +122,7 @@ class ThreadOps { static bool setPriority(ThreadOps*, Priority); /** - * Set the priority for the native thread if supported by the + * Set the priority for the native thread if supported by the * system. * * @param Thread::PRIORITY& current priority |