summaryrefslogtreecommitdiff
path: root/ace/Dynamic.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-29 03:04:52 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-29 03:04:52 +0000
commita7790708768000da0b687d7317aeaf01b3abe070 (patch)
treebcb4c2fda30397119db735c0199ed98e08fc6bc4 /ace/Dynamic.cpp
parentf25d9d30be93b922dd417e6f08ff6cdf1e346667 (diff)
downloadATCD-a7790708768000da0b687d7317aeaf01b3abe070.tar.gz
moved ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex> from Thread_Manager.cpp to Dynamic.cpp
Diffstat (limited to 'ace/Dynamic.cpp')
-rw-r--r--ace/Dynamic.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/ace/Dynamic.cpp b/ace/Dynamic.cpp
index 8b3ddd504fd..f32606a5d1f 100644
--- a/ace/Dynamic.cpp
+++ b/ace/Dynamic.cpp
@@ -3,6 +3,8 @@
#define ACE_BUILD_DLL
#include "ace/Dynamic.h"
+#include "ace/Singleton.h"
+#include "ace/Synch_T.h"
#if !defined (__ACE_INLINE__)
#include "ace/Dynamic.i"
@@ -11,8 +13,13 @@
ACE_RCSID(ace, Dynamic, "$Id$")
ACE_Dynamic::ACE_Dynamic (void)
- : is_dynamic_ (0)
+ : is_dynamic_ (0)
{
ACE_TRACE ("ACE_Dynamic::ACE_Dynamic");
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+ #pragma instantiate ACE_TSS_Singleton<ACE_Dynamic, ACE_Null_Mutex>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */