** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: threadrecon.cpp,v 1.10 2001/02/25 08:00:57 kevin Exp $
+** $Id: threadrecon.cpp,v 1.11 2001/02/25 08:43:03 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
wxPostEvent( theApp->getMainFrame(), eventLog ); // send log event
}
- while (reconSupervisor.anyWorkersRunning()) {
+ while (! reconSupervisor.workersDeleted()) {
Sleep(50);
- reconSupervisor.ProcessPendingEvents ();
+ reconSupervisor.ProcessPendingEvents();
}
return reinterpret_cast<wxThread::ExitCode>(0);
for (int i = 0; i < getNumWorkers(); i++) {
delete m_vecpChildImageFile[i];
m_vecpChildImageFile[i] = NULL;
- }
-
+ }
}
BackgroundWorkerThread*