X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fbackgroundsupr.cpp;h=4083c8220f8647253b19f44aa124c2bd8eae9bb3;hp=4f9e4c616eaab24cb1cf256b8e448048231ed1ab;hb=a97f1819c4f24321ba8d54a16f6534ee94404d26;hpb=d495f34264b1b1bcfdd78ee153c900d9e64b5f7c diff --git a/src/backgroundsupr.cpp b/src/backgroundsupr.cpp index 4f9e4c6..4083c82 100644 --- a/src/backgroundsupr.cpp +++ b/src/backgroundsupr.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: backgroundsupr.cpp,v 1.6 2001/02/25 16:21:36 kevin Exp $ +** $Id: backgroundsupr.cpp,v 1.7 2001/02/25 19:24:01 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 @@ -92,7 +92,7 @@ BackgroundSupervisor::~BackgroundSupervisor() } while (m_bBackgroundTaskAdded) { - Sleep(50); + m_pMyThread->Sleep(50); ProcessPendingEvents(); } @@ -113,7 +113,7 @@ BackgroundSupervisor::deleteWorkers() } while (m_iRunning > 0) { - Sleep(50); + m_pMyThread->Sleep(50); ProcessPendingEvents(); } m_iRunning = 0;