| 39 | } |
| 40 | |
| 41 | WorkerThread* WorkerThread::start(Coordinator* coordinator) |
| 42 | { |
| 43 | AutoPtr<WorkerThread> thd = FB_NEW WorkerThread(coordinator); |
| 44 | |
| 45 | Thread::start(workerThreadRoutine, thd, THREAD_medium, &thd->m_thread); |
| 46 | |
| 47 | return thd.release(); |
| 48 | } |
| 49 | |
| 50 | int WorkerThread::threadRoutine() |
| 51 | { |
no test coverage detected