summaryrefslogtreecommitdiff
path: root/ace/Free_List.cpp
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-12 09:12:05 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-12 09:12:05 +0000
commit81450f37ba50a725e2963ed2f478e882a00947da (patch)
tree178fd2a620cb623e7bc54f5bf8cff1e4de442945 /ace/Free_List.cpp
parent1a9e61ab3ac0db6bc4e75172843c969aa0eb23f8 (diff)
downloadATCD-81450f37ba50a725e2963ed2f478e882a00947da.tar.gz
Added a new class "ACE_Locked_Simple_Free_List".
Diffstat (limited to 'ace/Free_List.cpp')
-rw-r--r--ace/Free_List.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/Free_List.cpp b/ace/Free_List.cpp
index b8a25f07282..903fc5580a9 100644
--- a/ace/Free_List.cpp
+++ b/ace/Free_List.cpp
@@ -15,6 +15,18 @@ ACE_Free_List<T>::~ACE_Free_List (void)
// Nothing
}
+template <class T, class LOCK>
+ACE_Locked_Simple_Free_List<T, LOCK>::ACE_Locked_Simple_Free_List ()
+ : head_ (0),
+ size_ (0)
+{
+}
+
+template <class T, class LOCK>
+ACE_Locked_Simple_Free_List<T, LOCK>::~ACE_Locked_Simple_Free_List ()
+{
+}
+
// Default constructor that takes in a preallocation number
// (<prealloc>), a low and high water mark (<lwm> and <hwm>) and an
// increment value (<inc>)