summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-01-13 16:07:56 +0000
committerMarc Laukien <marc@zeroc.com>2004-01-13 16:07:56 +0000
commit7db65aa3d43b934793aa7cc03c5adbe1f1876a20 (patch)
treefac7ee47f9b4d85a70b99df9c5f00d879a366206 /cpp/src/Ice/ThreadPool.h
parentminor cleanup (diff)
downloadice-7db65aa3d43b934793aa7cc03c5adbe1f1876a20.tar.bz2
ice-7db65aa3d43b934793aa7cc03c5adbe1f1876a20.tar.xz
ice-7db65aa3d43b934793aa7cc03c5adbe1f1876a20.zip
promotion fix
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index 35b445b667b..35b2a82977b 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -36,7 +36,7 @@ namespace IceInternal
class BasicStream;
-class ThreadPool : public IceUtil::Shared, public IceUtil::Mutex
+class ThreadPool : public IceUtil::Shared, public IceUtil::Monitor<IceUtil::Mutex>
{
public:
@@ -100,9 +100,9 @@ private:
int _inUse; // Number of threads that are currently in use.
double _load; // Current load in number of threads.
- const bool _warnUdp;
+ bool _promote;
- IceUtil::Mutex _promoteMutex;
+ const bool _warnUdp;
};
}