** 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
}
while (m_bBackgroundTaskAdded) {
- Sleep(50);
+ m_pMyThread->Sleep(50);
ProcessPendingEvents();
}
}
while (m_iRunning > 0) {
- Sleep(50);
+ m_pMyThread->Sleep(50);
ProcessPendingEvents();
}
m_iRunning = 0;