diff options
Diffstat (limited to 'cpp/src/IceStorm/OnewayBatchSubscriber.cpp')
-rw-r--r-- | cpp/src/IceStorm/OnewayBatchSubscriber.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceStorm/OnewayBatchSubscriber.cpp b/cpp/src/IceStorm/OnewayBatchSubscriber.cpp index 8ab8e33e5e4..cdb7d9ef807 100644 --- a/cpp/src/IceStorm/OnewayBatchSubscriber.cpp +++ b/cpp/src/IceStorm/OnewayBatchSubscriber.cpp @@ -32,7 +32,7 @@ OnewayBatchSubscriber::~OnewayBatchSubscriber() void OnewayBatchSubscriber::unsubscribe() { - JTCSyncT<JTCMutex> sync(_stateMutex); + IceUtil::Mutex::Lock sync(_stateMutex); _state = StateUnsubscribed; if (_traceLevels->subscriber > 0) @@ -64,7 +64,7 @@ OnewayBatchSubscriber::flush() } catch(const Ice::LocalException& e) { - JTCSyncT<JTCMutex> sync(_stateMutex); + IceUtil::Mutex::Lock sync(_stateMutex); // // It's possible that the subscriber was unsubscribed, or // marked invalid by another thread. Don't display a |