summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Shared.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-08-14 11:52:47 +0000
committerMarc Laukien <marc@zeroc.com>2001-08-14 11:52:47 +0000
commit91a394a09d9684d20cfa4c941cebb6b3579b9666 (patch)
treeeb99bdac118a23814e1dfcd8d4e5fc64a9c8f0cc /cpp/src/Ice/Shared.cpp
parentlocator (diff)
downloadice-91a394a09d9684d20cfa4c941cebb6b3579b9666.tar.bz2
ice-91a394a09d9684d20cfa4c941cebb6b3579b9666.tar.xz
ice-91a394a09d9684d20cfa4c941cebb6b3579b9666.zip
changed directory structure
Diffstat (limited to 'cpp/src/Ice/Shared.cpp')
-rw-r--r--cpp/src/Ice/Shared.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/cpp/src/Ice/Shared.cpp b/cpp/src/Ice/Shared.cpp
new file mode 100644
index 00000000000..84ed34d0aa2
--- /dev/null
+++ b/cpp/src/Ice/Shared.cpp
@@ -0,0 +1,43 @@
+// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#include <Ice/Shared.h>
+
+using namespace std;
+using namespace Ice;
+using namespace IceInternal;
+
+//static int simpleDebugCounter = 0;
+//static int debugCounter = 0;
+//static JTCMutex debugCounterMutex;
+
+IceInternal::SimpleShared::SimpleShared() :
+ _ref(0)
+{
+// cout << "new SimpleShared: " << ++simpleDebugCounter << endl;
+}
+
+IceInternal::SimpleShared::~SimpleShared()
+{
+// cout << "delete SimpleShared: " << --simpleDebugCounter << endl;
+}
+
+IceInternal::Shared::Shared() :
+ _ref(0)
+{
+// JTCSyncT<JTCMutex> sync(debugCounterMutex);
+// cout << "new Shared: " << ++debugCounter << endl;
+}
+
+IceInternal::Shared::~Shared()
+{
+// JTCSyncT<JTCMutex> sync(debugCounterMutex);
+// cout << "delete Shared: " << --debugCounter << endl;
+}