Revision: 40578
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40578&view=rev
Author:   davidloman
Date:     2010-09-15 15:09:45 +0000 (Wed, 15 Sep 2010)

Log Message:
-----------
Make it so any instantiation of a GSThread automatically registers that thread 
with the internal manager.  This will help identify any stalled threads, or any 
lingering thread during an unexpected shutdown.

Modified Paths:
--------------
    rt^3/trunk/src/utility/GSThread.cxx

Modified: rt^3/trunk/src/utility/GSThread.cxx
===================================================================
--- rt^3/trunk/src/utility/GSThread.cxx 2010-09-15 15:07:36 UTC (rev 40577)
+++ rt^3/trunk/src/utility/GSThread.cxx 2010-09-15 15:09:45 UTC (rev 40578)
@@ -29,10 +29,12 @@
 
 GSThread::GSThread()
 {
+  GSThread::addThread(this);
 }
 
 GSThread::~GSThread()
 {
+  GSThread::remThread(this);
 }
 
 void


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to