5 #if !defined(_KKTHREADMANAGER_) 6 #define _KKTHREADMANAGER_ 19 #if !defined(_KKTHREAD_
) 48 const bool&
Crashed ()
const {
return crashed;}
73 void StartThreads (
bool& successful);
79 bool shutdownRequested;
81 bool terminateRequested;
const bool & DoneExecuting() const
bool AllThreadsTerminated()
void ShutdownProcessing(kkint32 miliSecsToWait)
Shutdown all threads in a orderly way; observing prerequisite ordering.
bool AnyProcessorsCrashed()
const bool & ShutdownFlag() const
unsigned __int32 kkuint32
KKThreadManager(const KKStr &_managerName, kkuint32 _maxNumThreads, MsgQueuePtr _msgQueue)
KKThreadList * KKThreadListPtr
KKThreadManager * KKThreadManagerPtr
The base class to be used any thread.
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
void KillAllRunningThreads()
const bool & Crashed() const
void TerminateProcessing()
void AddThread(KKThreadPtr _thread)
void ManageThreads(bool &successful)