Revision: 40840
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40840&view=rev
Author:   davidloman
Date:     2010-09-29 16:50:58 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
put in simple while/wait loop in GeometryService::_run().  Should keep the main 
thread idle until a shutdown msg is recv-ed

Modified Paths:
--------------
    rt^3/trunk/src/GS/GeometryService.cxx

Modified: rt^3/trunk/src/GS/GeometryService.cxx
===================================================================
--- rt^3/trunk/src/GS/GeometryService.cxx       2010-09-29 16:44:09 UTC (rev 
40839)
+++ rt^3/trunk/src/GS/GeometryService.cxx       2010-09-29 16:50:58 UTC (rev 
40840)
@@ -71,8 +71,9 @@
        this->log->logINFO("GeometryService", "Starting PortalManager");
        this->pm->start();
 
-       GSThread::sleep(2);
-
+       while (this->runCmd) {
+               GSThread::sleep(100);
+       }
 }
 
 bool


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