r641: no message
[ctsim.git] / src / threadproj.cpp
index 9927d0be17411c0aa429111c6b0497ef7a379b90..f967269df76a1a7b23fe64e64737569247c4ec55 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: threadproj.cpp,v 1.13 2001/03/04 22:30:20 kevin Exp $
+**  $Id: threadproj.cpp,v 1.15 2001/03/07 21:18:50 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
@@ -87,11 +87,7 @@ ProjectorSupervisorThread::Entry()
          projSupervisor.onDone();
   projSupervisor.deleteWorkers();
 
-  while (! projSupervisor.workersDeleted()) {
-    Sleep(50);
-  }
-
-  return reinterpret_cast<wxThread::ExitCode>(0);
+  return static_cast<wxThread::ExitCode>(0);
 }
 
 void