diff options
author | Matthew Newhook <matthew@zeroc.com> | 2001-12-27 18:38:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2001-12-27 18:38:22 +0000 |
commit | ca2b7f71b4133faf486a677b3744904c0f759471 (patch) | |
tree | 2ea5e06f611c338f8160a0c3bd36d069118926fe /cpp/src/IceStorm/LinkSubscriber.cpp | |
parent | file run.py was initially added on branch IceThread. (diff) | |
download | ice-ca2b7f71b4133faf486a677b3744904c0f759471.tar.bz2 ice-ca2b7f71b4133faf486a677b3744904c0f759471.tar.xz ice-ca2b7f71b4133faf486a677b3744904c0f759471.zip |
IceThread merge.
Diffstat (limited to 'cpp/src/IceStorm/LinkSubscriber.cpp')
-rw-r--r-- | cpp/src/IceStorm/LinkSubscriber.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceStorm/LinkSubscriber.cpp b/cpp/src/IceStorm/LinkSubscriber.cpp index 36685402b7a..61be860b1b7 100644 --- a/cpp/src/IceStorm/LinkSubscriber.cpp +++ b/cpp/src/IceStorm/LinkSubscriber.cpp @@ -43,7 +43,7 @@ LinkSubscriber::inactive() const void LinkSubscriber::unsubscribe() { - JTCSyncT<JTCMutex> sync(_stateMutex); + IceUtil::Mutex::Lock sync(_stateMutex); _state = StateUnsubscribed; if (_traceLevels->subscriber > 0) @@ -74,7 +74,7 @@ LinkSubscriber::publish(const Event& event) // // ObjectNotExist causes the link to be removed. // - JTCSyncT<JTCMutex> sync(_stateMutex); + IceUtil::Mutex::Lock sync(_stateMutex); _state = StateError; if (_traceLevels->subscriber > 0) @@ -107,7 +107,7 @@ LinkSubscriber::flush() // // ObjectNotExist causes the link to be removed. // - JTCSyncT<JTCMutex> sync(_stateMutex); + IceUtil::Mutex::Lock sync(_stateMutex); _state = StateError; if (_traceLevels->subscriber > 0) |