summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Table.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-04-18 22:04:50 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-04-18 22:04:50 +0000
commit0db5bad50c8a98799bdd211d3355cc9b87a2cf0e (patch)
tree2aa67ee3daf3d7152498fea477f645eb0c9fa73b /TAO/tao/ORB_Table.cpp
parent4b58b826ead0c9ea9e1c811588b88fc375e8d493 (diff)
downloadATCD-0db5bad50c8a98799bdd211d3355cc9b87a2cf0e.tar.gz
ChangeLogTag:Thu Apr 18 15:03:56 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/ORB_Table.cpp')
-rw-r--r--TAO/tao/ORB_Table.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/ORB_Table.cpp b/TAO/tao/ORB_Table.cpp
index 126b08095fd..12ac9358b70 100644
--- a/TAO/tao/ORB_Table.cpp
+++ b/TAO/tao/ORB_Table.cpp
@@ -1,9 +1,6 @@
-// -*- C++ -*-
-//
-// $Id$
-
#include "ORB_Table.h"
#include "ORB_Core.h"
+#include "TAO_Singleton.h"
#if !defined (__ACE_INLINE__)
# include "ORB_Table.inl"
@@ -129,6 +126,12 @@ TAO_ORB_Table::unbind (const char *orb_id)
return result;
}
+TAO_ORB_Table *
+TAO_ORB_Table::instance (void)
+{
+ return TAO_Singleton<TAO_ORB_Table, TAO_SYNCH_MUTEX>::instance ();
+}
+
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)