** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: backgroundsupr.h,v 1.4 2001/02/25 19:24:01 kevin Exp $
+** $Id: backgroundsupr.h,v 1.5 2001/02/26 17:36:56 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
private:
DECLARE_DYNAMIC_CLASS(BackgroundSupervisor)
- typedef std::vector<BackgroundWorkerThread*> ThreadContainer;
- ThreadContainer m_vecpThreads;
+ SupervisorThread* m_pMyThread;
wxFrame* m_pParentFrame;
wxDocument* m_pDocument;
const std::string m_strProcessTitle;
Timer* m_pTimer;
bool m_bBackgroundTaskAdded;
bool m_bWorkersDeleted;
+
+ typedef std::vector<BackgroundWorkerThread*> ThreadContainer;
+ ThreadContainer m_vecpThreads;
wxCriticalSection m_critsectThreads;
-protected:
- SupervisorThread* m_MyThread;
public:
enum {