summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Thread.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-02-22 23:50:41 +0000
committerMarc Laukien <marc@zeroc.com>2003-02-22 23:50:41 +0000
commitfabde9cbe6ec805f31280f75054b311df4f69ab8 (patch)
tree5e4753a6c031ade4d3434b21702e285c06721766 /cpp/include/IceUtil/Thread.h
parentfixed bug with exceptions propagating from ice_response() (diff)
downloadice-fabde9cbe6ec805f31280f75054b311df4f69ab8.tar.bz2
ice-fabde9cbe6ec805f31280f75054b311df4f69ab8.tar.xz
ice-fabde9cbe6ec805f31280f75054b311df4f69ab8.zip
minor
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r--cpp/include/IceUtil/Thread.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h
index 0437a2cf8a1..01db982d90f 100644
--- a/cpp/include/IceUtil/Thread.h
+++ b/cpp/include/IceUtil/Thread.h
@@ -54,7 +54,7 @@ public:
ThreadControl();
#ifdef _WIN32
- ThreadControl(const HandleWrapperPtr&, unsigned);
+ ThreadControl(const HandleWrapperPtr&, unsigned int);
#else
ThreadControl(pthread_t);
#endif
@@ -91,10 +91,11 @@ private:
#ifdef _WIN32
HandleWrapperPtr _handle;
- unsigned _id;
+ unsigned int _id;
#else
pthread_t _id;
#endif
+
bool _detached;
};
@@ -102,7 +103,7 @@ class ICE_UTIL_API Thread : virtual public IceUtil::Shared
{
public:
#ifdef _WIN32
- typedef unsigned ThreadId;
+ typedef unsigned int ThreadId;
#else
typedef pthread_t ThreadId;
#endif
@@ -126,7 +127,7 @@ private:
bool _started;
#ifdef _WIN32
- unsigned _id;
+ unsigned int _id;
HandleWrapperPtr _handle;
#else
pthread_t _id;