commit for fix to a deadlock which would occur when stopping a live, queue'd thread worker

This commit is contained in:
David Anderson
2006-04-25 20:41:18 +00:00
parent 3f5bae615b
commit 2a74d2229f
3 changed files with 42 additions and 42 deletions

View File

@ -33,8 +33,8 @@ protected:
IEventSignal *m_AddSignal;
IThreadHandle *me;
unsigned int m_think_time;
bool m_Waiting;
bool m_FlushType;
volatile bool m_Waiting;
volatile bool m_FlushType;
};
#endif //_INCLUDE_SOURCEMOD_THREADWORKER_H