summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-09-02 12:58:35 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-09-02 12:58:35 -0230
commit7b3198c81431c2491afa128f78f4b314eeaa358b (patch)
tree9f2d72fa96501340566fe29a336b356b497da693 /cpp/src/Ice/ThreadPool.h
parent4238 - Java test suite and ant options. (diff)
downloadice-7b3198c81431c2491afa128f78f4b314eeaa358b.tar.bz2
ice-7b3198c81431c2491afa128f78f4b314eeaa358b.tar.xz
ice-7b3198c81431c2491afa128f78f4b314eeaa358b.zip
Added Advanced Installer third party installer projects for VC6 and VC9
Fixed some VC6 compile errors
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index 1b52124ea1c..51d4eb55af9 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -287,7 +287,11 @@ public:
// of the event handler. We need to lock the event handler here to call
// finishMessage.
//
+#if defined(__BCPLUSPLUS__) || (defined(_MSC_VER) && (_MSC_VER < 1300))
+ IceUtil::LockT<T> sync(_mutex);
+#else
IceUtil::LockT<typename T> sync(_mutex);
+#endif
_current.finishMessage();
}
}