| 106 | } |
| 107 | public: |
| 108 | static CWizTaskWorkThread* Create(CWizThreadPool* pool, int threadIndex, QThread::Priority priority) |
| 109 | { |
| 110 | CWizTaskWorkThread* thread = new CWizTaskWorkThread(pool, threadIndex); |
| 111 | thread->start(priority); |
| 112 | return thread; |
| 113 | } |
| 114 | }; |
| 115 | |
| 116 | CWizThreadPool::CWizThreadPool(int poolCount, WizCreateThreadFunction* createThreadFun, QThread::Priority priority) |
no outgoing calls
no test coverage detected