| 91 | |
| 92 | |
| 93 | void ThreadPool::CreateThreads() |
| 94 | { |
| 95 | for(uint I=0;I<MaxAllowedThreads;I++) |
| 96 | { |
| 97 | ThreadHandles[I] = ThreadCreate(PoolThread, this); |
| 98 | ThreadsCreatedCount++; |
| 99 | #ifdef _WIN_ALL |
| 100 | if (ThreadPool::ThreadPriority!=THREAD_PRIORITY_NORMAL) |
| 101 | SetThreadPriority(ThreadHandles[I],ThreadPool::ThreadPriority); |
| 102 | #endif |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | |
| 107 | NATIVE_THREAD_TYPE ThreadPool::PoolThread(void *Param) |
nothing calls this directly
no test coverage detected