#include "rar.hpp"
#ifdef RAR_SMP
#include "threadmisc.cpp"
#ifdef _WIN_ALL
int ThreadPool::ThreadPriority=THREAD_PRIORITY_NORMAL;
#endif
ThreadPool::ThreadPool(uint MaxThreads)
{ … }
ThreadPool::~ThreadPool()
{ … }
void ThreadPool::CreateThreads()
{ … }
NATIVE_THREAD_TYPE ThreadPool::PoolThread(void *Param)
{ … }
void ThreadPool::PoolThreadLoop()
{ … }
bool ThreadPool::GetQueuedTask(QueueEntry *Task)
{ … }
void ThreadPool::AddTask(PTHREAD_PROC Proc,void *Data)
{ … }
void ThreadPool::WaitDone()
{ … }
#endif