Text archives Help
- From: abe@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1579 - trunk/Engine/Control
- Date: Mon, 30 Jul 2007 13:05:58 -0600 (MDT)
Author: abe
Date: Mon Jul 30 13:05:58 2007
New Revision: 1579
Modified:
trunk/Engine/Control/RTRT.cc
Log:
Set the running flag to false when all threads shutdown. This enables manta
stop rendering and then start up again.
M RTRT.cc
Modified: trunk/Engine/Control/RTRT.cc
==============================================================================
--- trunk/Engine/Control/RTRT.cc (original)
+++ trunk/Engine/Control/RTRT.cc Mon Jul 30 13:05:58 2007
@@ -694,6 +694,11 @@
// If proc 0 is exiting invoke the termination callbacks.
if (proc == 0) {
doTerminationCallbacks();
+
+ // Set the running flag to false.
+ runningLock.lock();
+ running = false;
+ runningLock.unlock();
}
break;
- [MANTA] r1579 - trunk/Engine/Control, abe, 07/30/2007
Archive powered by MHonArc 2.6.16.