diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-04 17:12:45 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-04 17:12:45 +0000 |
commit | a664b03104413dbcf885a6b64b34989ec747491d (patch) | |
tree | db5505b55d7cdbaa5ce8771e5e947b4e05a0876d /ace/Free_List.i | |
parent | 9beb73949f9eb59c74460374b4035bfbd6817bcf (diff) | |
download | ATCD-a664b03104413dbcf885a6b64b34989ec747491d.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Free_List.i')
-rw-r--r-- | ace/Free_List.i | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/Free_List.i b/ace/Free_List.i index 93574c29bf1..406f40aef54 100644 --- a/ace/Free_List.i +++ b/ace/Free_List.i @@ -4,8 +4,8 @@ // elements withing and it pasts the high water mark, delete the // element) -template <class T, class LOCK> ACE_INLINE void -ACE_Locked_Free_List<T, LOCK>::add (T *element) +template <class T, class ACE_LOCK> ACE_INLINE void +ACE_Locked_Free_List<T, ACE_LOCK>::add (T *element) { ACE_MT (ACE_GUARD (LOCK, ace_mon, this->mutex_)); @@ -25,8 +25,8 @@ ACE_Locked_Free_List<T, LOCK>::add (T *element) // new elements if we are allowed to do it and the size is at the low // water mark. -template <class T, class LOCK> ACE_INLINE T * -ACE_Locked_Free_List<T, LOCK>::remove (void) +template <class T, class ACE_LOCK> ACE_INLINE T * +ACE_Locked_Free_List<T, ACE_LOCK>::remove (void) { ACE_MT (ACE_GUARD_RETURN (LOCK, ace_mon, this->mutex_, 0)); @@ -49,16 +49,16 @@ ACE_Locked_Free_List<T, LOCK>::remove (void) // Returns the current size of the free list -template <class T, class LOCK> ACE_INLINE size_t -ACE_Locked_Free_List<T, LOCK>::size (void) +template <class T, class ACE_LOCK> ACE_INLINE size_t +ACE_Locked_Free_List<T, ACE_LOCK>::size (void) { return this->size_; } // Resizes the free list to <newsize> -template <class T, class LOCK> ACE_INLINE void -ACE_Locked_Free_List<T, LOCK>::resize (size_t newsize) +template <class T, class ACE_LOCK> ACE_INLINE void +ACE_Locked_Free_List<T, ACE_LOCK>::resize (size_t newsize) { ACE_MT (ACE_GUARD (LOCK, ace_mon, this->mutex_)); |