diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-08-17 07:26:28 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-08-17 07:26:28 +0000 |
commit | 9c2a76859833bdd84b08de30f51354e1dba722a8 (patch) | |
tree | acb68b581d326be51bb9e10dad30369f87648d4d /TAO/tao/TSS_Resources.cpp | |
parent | 8434d8cac9ac47f587821c269914643edfe37036 (diff) | |
download | ATCD-9c2a76859833bdd84b08de30f51354e1dba722a8.tar.gz |
ChangeLogTag:Sun Aug 17 00:22:16 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/TSS_Resources.cpp')
-rw-r--r-- | TAO/tao/TSS_Resources.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/TAO/tao/TSS_Resources.cpp b/TAO/tao/TSS_Resources.cpp new file mode 100644 index 00000000000..50cac06333b --- /dev/null +++ b/TAO/tao/TSS_Resources.cpp @@ -0,0 +1,45 @@ +// $Id$ + +#include "TSS_Resources.h" + + +ACE_RCSID (tao, + TSS_Resources, + "$Id$") + + +TAO_TSS_Resources::TAO_TSS_Resources (void) + : poa_current_impl_ (0), + rtscheduler_current_impl_ (0), + rtscheduler_previous_current_impl_ (0), + default_environment_ (&this->tss_environment_) + +#if (TAO_HAS_CORBA_MESSAGING == 1) + + , policy_current_ (&this->initial_policy_current_) + +#endif /* TAO_HAS_CORBA_MESSAGING == 1 */ + +{ +} + +TAO_TSS_Resources::~TAO_TSS_Resources (void) +{ +} + +// **************************************************************** + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +template class TAO_TSS_Singleton<TAO_TSS_Resources, TAO_SYNCH_MUTEX>; +template class ACE_TSS<TAO_TSS_Resources>; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate TAO_TSS_Singleton<TAO_TSS_Resources, TAO_SYNCH_MUTEX> +#pragma instantiate ACE_TSS<TAO_TSS_Resources> + +#elif defined (__GNUC__) && (defined (_AIX) || defined (__hpux) || defined (VXWORKS)) +template TAO_TSS_Singleton<TAO_TSS_Resources, TAO_SYNCH_MUTEX> * TAO_TSS_Singleton<TAO_TSS_Resources, TAO_SYNCH_MUTEX>::singleton_; + +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |