diff options
author | Michi Henning <michi@zeroc.com> | 2006-02-14 05:56:59 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-02-14 05:56:59 +0000 |
commit | e8b9659810b89aca1af464934e1fd2d50ffd0e32 (patch) | |
tree | 90719827c074f85bb1de878c01d4e47e8db1758f /cpp/include/IceUtil/Thread.h | |
parent | Bug 843. (diff) | |
download | ice-e8b9659810b89aca1af464934e1fd2d50ffd0e32.tar.bz2 ice-e8b9659810b89aca1af464934e1fd2d50ffd0e32.tar.xz ice-e8b9659810b89aca1af464934e1fd2d50ffd0e32.zip |
Bug 724.
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r-- | cpp/include/IceUtil/Thread.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h index 13830060c99..76b4ca82313 100644 --- a/cpp/include/IceUtil/Thread.h +++ b/cpp/include/IceUtil/Thread.h @@ -67,10 +67,11 @@ public: // on POSIX platforms. // #ifdef _WIN32 - DWORD id() const; + typedef DWORD ID; #else - pthread_t id() const; + typedef pthread_t ID; #endif + ID id() const; static void sleep(const Time&); static void yield(); |