summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r--cpp/include/IceUtil/Thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h
index 01db982d90f..5dbc94365a0 100644
--- a/cpp/include/IceUtil/Thread.h
+++ b/cpp/include/IceUtil/Thread.h
@@ -84,6 +84,12 @@ public:
//
void detach();
+ //
+ // Check whether a thread is still alive. This is useful to implement
+ // a non-blocking join().
+ //
+ bool isAlive() const;
+
static void sleep(const Time&);
static void yield();