summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
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;
};
}