| 68 | |
| 69 | |
| 70 | void CThreadScheduler::Start() |
| 71 | { |
| 72 | wxMutexLocker lock(s_lock); |
| 73 | |
| 74 | s_running = true; |
| 75 | s_terminated = false; |
| 76 | |
| 77 | // Ensures that a thread is started if tasks are already waiting. |
| 78 | if (s_scheduler) { |
| 79 | AddDebugLogLineN(logThreads, "Starting scheduler"); |
| 80 | s_scheduler->CreateSchedulerThread(); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | |
| 85 | void CThreadScheduler::Terminate() |
nothing calls this directly
no test coverage detected