summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/GC.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-24 13:55:37 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-24 13:55:37 -0230
commitb7781c854fc8dc9c02f8abe363c46b8f4f28e859 (patch)
tree4915ec5588dc04bc8f7f99740d1062e4a1898296 /cpp/src/Ice/GC.cpp
parentBug 3811 - unsubstitued verion strings in READMES (diff)
downloadice-b7781c854fc8dc9c02f8abe363c46b8f4f28e859.tar.bz2
ice-b7781c854fc8dc9c02f8abe363c46b8f4f28e859.tar.xz
ice-b7781c854fc8dc9c02f8abe363c46b8f4f28e859.zip
Bug 2812 - add abilty to name thread
Diffstat (limited to 'cpp/src/Ice/GC.cpp')
-rw-r--r--cpp/src/Ice/GC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/GC.cpp b/cpp/src/Ice/GC.cpp
index a36d9ecccac..139b61bddd1 100644
--- a/cpp/src/Ice/GC.cpp
+++ b/cpp/src/Ice/GC.cpp
@@ -141,7 +141,8 @@ IceInternal::GCShared::__gcDecRef()
//
-IceInternal::GC::GC(int interval, StatsCallback cb)
+IceInternal::GC::GC(int interval, StatsCallback cb) :
+ Thread("Ice garbage collector thread")
{
StaticMutex::Lock sync(numCollectorsMutex);
if(numCollectors++ > 0)