blob: 12f3bb8850152c00dd65d14b305a1427d7b8ba58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// **********************************************************************
//
// 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),
_noDelete(false)
{
// cout << "new SimpleShared: " << ++simpleDebugCounter << endl;
}
IceInternal::SimpleShared::~SimpleShared()
{
// cout << "delete SimpleShared: " << --simpleDebugCounter << endl;
}
IceInternal::Shared::Shared() :
_ref(0),
_noDelete(false)
{
// JTCSyncT<JTCMutex> sync(debugCounterMutex);
// cout << "new Shared: " << ++debugCounter << endl;
}
IceInternal::Shared::~Shared()
{
// JTCSyncT<JTCMutex> sync(debugCounterMutex);
// cout << "delete Shared: " << --debugCounter << endl;
}
|