X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fthreadproj.cpp;h=f967269df76a1a7b23fe64e64737569247c4ec55;hb=728e9fcbe0b785e56e7dcd2bd305786c647050af;hp=9927d0be17411c0aa429111c6b0497ef7a379b90;hpb=cd93aebb4dec4e0ae88d53f131c2320ae92d0cab;p=ctsim.git diff --git a/src/threadproj.cpp b/src/threadproj.cpp index 9927d0b..f967269 100644 --- a/src/threadproj.cpp +++ b/src/threadproj.cpp @@ -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(0); + return static_cast(0); } void