My Project
|
Smart thread pool. More...
#include <SmartThreadPool.h>
Public Member Functions | |
CSmartThreadPool () | |
Default constructor. | |
~CSmartThreadPool () | |
Destructor. | |
void | AddThread (SallyAPI::System::CThread *newThread) |
Adds a thread. | |
void | SetConcurrentCount (int count) |
Sets a concurrent count. | |
void | SetAutoDelete (bool autoDelete) |
Sets an automatic delete. |
Smart thread pool.
Default constructor.
Destructor.
void CSmartThreadPool::AddThread | ( | SallyAPI::System::CThread * | newThread | ) |
Adds a thread.
[in,out] | newThread | If non-null, the new thread. |
void CSmartThreadPool::SetAutoDelete | ( | bool | autoDelete | ) |
Sets an automatic delete.
autoDelete | true to automatic delete. |
void CSmartThreadPool::SetConcurrentCount | ( | int | count | ) |
Sets a concurrent count.
count | Number of. |