diff options
Diffstat (limited to 'cpp/src/IceUtil/Thread.cpp')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index 86cb499cb5b..29853280530 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -283,6 +283,13 @@ IceUtil::Thread::~Thread() { } +IceUtil::Thread::ThreadId +IceUtil::Thread::id() const +{ + return _id; +} + +extern "C" { static void* startHook(void* arg) { @@ -309,6 +316,7 @@ startHook(void* arg) } return 0; } +} IceUtil::ThreadControl IceUtil::Thread::start() |