summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Thread.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
committerMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
commit1f7c6e248a10a585dd36b8b4d40031bf4b330632 (patch)
tree02ef6a50010d533ee0e8ba489de37d8adf311b2b /cpp/include/IceUtil/Thread.h
parentsleep now takes IceUtil::Time (diff)
downloadice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.bz2
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.xz
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.zip
sleep now takes IceUtil::Time
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r--cpp/include/IceUtil/Thread.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h
index d0364f5581e..23db59b41b7 100644
--- a/cpp/include/IceUtil/Thread.h
+++ b/cpp/include/IceUtil/Thread.h
@@ -17,6 +17,8 @@
namespace IceUtil
{
+class Time;
+
#ifdef _WIN32
struct HandleWrapper : public Shared
{
@@ -67,14 +69,7 @@ public:
//
void join();
- //
- // Sleep for n milliseconds.
- //
- static void sleep(long);
-
- //
- // Yield the CPU.
- //
+ static void sleep(const Time&);
static void yield();
private: