Revision: 42009
http://brlcad.svn.sourceforge.net/brlcad/?rev=42009&view=rev
Author: davidloman
Date: 2011-01-07 14:23:00 +0000 (Fri, 07 Jan 2011)
Log Message:
-----------
Bugfix in JobManager. Check to see if there are running workers for every call
to startup(). If startup is called twice, then the JM should only 'startup'
the first time.
Modified Paths:
--------------
rt^3/trunk/src/libJob/JobManager.cxx
Modified: rt^3/trunk/src/libJob/JobManager.cxx
===================================================================
--- rt^3/trunk/src/libJob/JobManager.cxx 2011-01-07 14:18:45 UTC (rev
42008)
+++ rt^3/trunk/src/libJob/JobManager.cxx 2011-01-07 14:23:00 UTC (rev
42009)
@@ -65,6 +65,10 @@
}
void JobManager::startup() {
+
+ if (this->jobWorkers->size() > 0)
+ return;
+
for (quint32 i = 0; i < this->jobWorkers->size(); ++i) {
JobWorker* jw = this->jobWorkers->at(i);
jw->start();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits