diff options
Diffstat (limited to 'ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp')
-rw-r--r-- | ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp b/ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp index a908c4147f1..e86e3667597 100644 --- a/ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp +++ b/ACE/apps/JAWS2/JAWS/Cache_Hash_T.cpp @@ -139,7 +139,7 @@ JAWS_Cache_Hash<EXT_ID,HASH_FUNC,EQ_FUNC>::bind (const EXT_ID &ext_id, if (this->hashtable_[hash_idx] == 0) { - ACE_Guard<ACE_SYNCH_MUTEX> g (this->lock_); + ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, g, this->lock_, -1); if (this->new_cachebucket (hash_idx) == -1) return -1; @@ -161,7 +161,7 @@ JAWS_Cache_Hash<EXT_ID,HASH_FUNC,EQ_FUNC>::trybind (const EXT_ID &ext_id, if (this->hashtable_[hash_idx] == 0) { - ACE_Guard<ACE_SYNCH_MUTEX> g (this->lock_); + ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, g, this->lock_, -1); if (this->new_cachebucket (hash_idx) == -1) return -1; @@ -185,7 +185,7 @@ JAWS_Cache_Hash<EXT_ID,HASH_FUNC,EQ_FUNC>::rebind (const EXT_ID &ext_id, if (this->hashtable_[hash_idx] == 0) { - ACE_Guard<ACE_SYNCH_MUTEX> g (this->lock_); + ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, g, this->lock_, -1); if (this->new_cachebucket (hash_idx) == -1) return -1; |