diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-04 19:27:53 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-04 19:27:53 +0000 |
commit | afaa72956780c7ede0faeb838888a04463155faa (patch) | |
tree | 9daa46ec69210e3c701c865cb532d1727ea0e6c7 /ace/Synch_T.i | |
parent | 1cec78e1bc3af1d2a2fe2d30823c5c98f80a5ca3 (diff) | |
download | ATCD-afaa72956780c7ede0faeb838888a04463155faa.tar.gz |
ChangeLogTag: Wed Jul 04 14:26:10 2001 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/Synch_T.i')
-rw-r--r-- | ace/Synch_T.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Synch_T.i b/ace/Synch_T.i index 5b3116c289e..ef0f225af28 100644 --- a/ace/Synch_T.i +++ b/ace/Synch_T.i @@ -259,7 +259,7 @@ ACE_Lock_Adapter<ACE_LOCKING_MECHANISM>::tryacquire_write_upgrade (void) template <class ACE_LOCKING_MECHANISM> ACE_INLINE ACE_Reverse_Lock<ACE_LOCKING_MECHANISM>::ACE_Reverse_Lock (ACE_LOCKING_MECHANISM &lock, - ACE_Reverse_Lock<ACE_LOCKING_MECHANISM>::ACE_ACQUIRE_METHOD acquire_method) + ACE_Acquire_Method::METHOD_TYPE acquire_method) : lock_ (lock), acquire_method_ (acquire_method) { @@ -290,9 +290,9 @@ ACE_Reverse_Lock<ACE_LOCKING_MECHANISM>::tryacquire (void) template <class ACE_LOCKING_MECHANISM> ACE_INLINE int ACE_Reverse_Lock<ACE_LOCKING_MECHANISM>::release (void) { - if (this->acquire_method_ == ACE_READ) + if (this->acquire_method_ == ACE_Acquire_Method::ACE_READ) return this->lock_.acquire_read (); - else if (this->acquire_method_ == ACE_WRITE) + else if (this->acquire_method_ == ACE_Acquire_Method::ACE_WRITE) return this->lock_.acquire_write (); else return this->lock_.acquire (); |