summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/GC.cpp
diff options
context:
space:
mode:
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)