summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-23 22:54:37 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-23 22:54:37 +0000
commite9b7bb5694639bc06114b1d42237583f08f54161 (patch)
tree1400be03088c20aca994bc619a63abb45613c706
parent6894c026450762170295db724cd3b7dcba73d7f8 (diff)
downloadATCD-e9b7bb5694639bc06114b1d42237583f08f54161.tar.gz
updated template instantiations
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp b/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp
index 7d3d00a2507..9c5f0eabdf9 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp
@@ -27,11 +27,17 @@ ACE_ES_Memory_Pools::thr_init (void)
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
// For ACE_ES_Memory_Pools.
-template class ACE_TSS<ACE_ES_Event_Container_Allocator>;
-template class ACE_TSS<ACE_ES_Dispatch_Request_Allocator>;
-template class ACE_TSS<ACE_Malloc<ACE_LOCAL_MEMORY_POOL, ACE_MEMORY_POOL_MUTEX> >;
+template class ACE_Singleton<ACE_ES_Dispatch_Request_Allocator,ACE_Null_Mutex>;
+template class ACE_Singleton<ACE_ES_Event_Container_Allocator,ACE_Null_Mutex>;
+template class ACE_Singleton<ACE_ES_Event_Allocator,ACE_Null_Mutex>;
+// template class ACE_TSS<ACE_ES_Event_Container_Allocator>;
+// template class ACE_TSS<ACE_ES_Dispatch_Request_Allocator>;
+// template class ACE_TSS<ACE_Malloc<ACE_LOCAL_MEMORY_POOL, ACE_MEMORY_POOL_MUTEX> >;
#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_TSS<ACE_ES_Event_Container_Allocator>
-#pragma instantiate ACE_TSS<ACE_ES_Dispatch_Request_Allocator>
-#pragma instantiate ACE_TSS<ACE_Malloc<ACE_Local_Memory_Pool, ACE_Local_Memory_Pool_Options, ACE_MEMORY_POOL_MUTEX> >
+#pragma instantiate ACE_Singleton<ACE_ES_Dispatch_Request_Allocator,ACE_Null_Mutex>
+#pragma instantiate ACE_Singleton<ACE_ES_Event_Container_Allocator,ACE_Null_Mutex>
+#pragma instantiate ACE_Singleton<ACE_ES_Event_Allocator,ACE_Null_Mutex>
+// #pragma instantiate ACE_TSS<ACE_ES_Event_Container_Allocator>
+// #pragma instantiate ACE_TSS<ACE_ES_Dispatch_Request_Allocator>
+// #pragma instantiate ACE_TSS<ACE_Malloc<ACE_Local_Memory_Pool, ACE_Local_Memory_Pool_Options, ACE_MEMORY_POOL_MUTEX> >
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */