diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-12 20:43:37 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-12 20:43:37 +0000 |
commit | 98bc23b0e36508ca4d8d2592f647bc192c31ada8 (patch) | |
tree | ab65ad49295fe94c0c31c61289ea52fd3efa7a73 /TAO/orbsvcs/orbsvcs/Concurrency | |
parent | 2c5d9b9113d99d76b7ccf1c8639f393e21524316 (diff) | |
download | ATCD-98bc23b0e36508ca4d8d2592f647bc192c31ada8.tar.gz |
Got rid of some warnings on NT.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Concurrency')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp index 412d47091ae..2b3fdc6439c 100644 --- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp +++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.cpp @@ -70,7 +70,8 @@ CC_LockSet::lock (CosConcurrencyControl::lock_mode mode, } TAO_TRY { - lock_->lock (_env); + lock_->lock (TAO_TRY_ENV); + TAO_CHECK_ENV; } TAO_CATCHANY { @@ -90,7 +91,8 @@ CC_LockSet::try_lock (CosConcurrencyControl::lock_mode mode, "CC_LockSet::try_lock\n")); TAO_TRY { - return lock_->try_lock (_env); + return lock_->try_lock (TAO_TRY_ENV); + TAO_CHECK_ENV; } TAO_CATCHANY { @@ -111,7 +113,8 @@ CC_LockSet::unlock (CosConcurrencyControl::lock_mode mode, "CC_LockSet::unlock\n")); TAO_TRY { - lock_->unlock (_env); + lock_->unlock (TAO_TRY_ENV); + TAO_CHECK_ENV; } TAO_CATCHANY { @@ -133,7 +136,8 @@ CC_LockSet::change_mode (CosConcurrencyControl::lock_mode held_mode, "CC_LockSet::change_mode\n")); TAO_TRY { - lock_->change_mode (new_mode, _env); + lock_->change_mode (new_mode, TAO_TRY_ENV); + TAO_CHECK_ENV; } TAO_CATCHANY { |