diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-21 05:09:14 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-21 05:09:14 +0000 |
commit | 560bda8654ebbc185df29e2892756802d6749b0e (patch) | |
tree | 671858d30e757dac115f005709c0a01e11a9db7b /TAO/orbsvcs/orbsvcs/Concurrency | |
parent | 1847cc0b6c584a21998d26145c1842498ac232a6 (diff) | |
download | ATCD-560bda8654ebbc185df29e2892756802d6749b0e.tar.gz |
ChangeLogTag:Fri Aug 21 00:04:11 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Concurrency')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp | 4 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp index a9aa0b8fecf..23284c731a8 100644 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp +++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.cpp @@ -90,7 +90,7 @@ CC_Lock::unlock (CORBA::Environment &_env) ACE_DEBUG ((LM_DEBUG, "CC_Lock::unlock\n")); if (lock_held_ == 0) - TAO_THROW (CosConcurrencyControl::LockNotHeld); + TAO_THROW (CosConcurrencyControl::LockNotHeld()); int success = 0; //semaphore_.release (); @@ -116,7 +116,7 @@ CC_Lock::change_mode (CosConcurrencyControl::lock_mode new_mode, // write lock if (lock_held_ == 0) - TAO_THROW (CosConcurrencyControl::LockNotHeld); + TAO_THROW (CosConcurrencyControl::LockNotHeld()); this->mode_ = new_mode; } diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp index 263cfe0b95a..cb30bc97199 100644 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp +++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp @@ -163,7 +163,7 @@ CC_LockSet::unlock (CosConcurrencyControl::lock_mode mode, TAO_TRY { if (lock_[lm] == 0) // This lock is not held. - TAO_THROW (CosConcurrencyControl::LockNotHeld); + TAO_THROW (CosConcurrencyControl::LockNotHeld()); else lock_[lm]--; @@ -214,7 +214,7 @@ CC_LockSet::change_mode (CosConcurrencyControl::lock_mode held_mode, TAO_TRY { if (this->lock_held (lm_held) == 0) // This lock is not held - TAO_THROW (CosConcurrencyControl::LockNotHeld); + TAO_THROW (CosConcurrencyControl::LockNotHeld()); else if (this->change_mode_i (lm_held, lm_new)==1) { this->unlock (held_mode, _env); |