| 191 | } |
| 192 | |
| 193 | void |
| 194 | GenericSchedulerThreadWatcher::handleBlockingTask(int taskID) |
| 195 | { |
| 196 | BlockingTaskEnum task = (BlockingTaskEnum)taskID; |
| 197 | |
| 198 | switch (task) { |
| 199 | case eBlockingTaskWaitForAbort: |
| 200 | _thread->abortThreadedTask(); |
| 201 | _thread->waitForAbortToComplete_not_main_thread(); |
| 202 | break; |
| 203 | |
| 204 | case eBlockingTaskWaitForQuitAllowRestart: |
| 205 | case eBlockingTaskWaitForQuitDisallowRestart: |
| 206 | _thread->quitThread(task == eBlockingTaskWaitForQuitAllowRestart); |
| 207 | _thread->waitForThreadToQuit_not_main_thread(); |
| 208 | break; |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | void |
| 213 | RenderEngineWatcher::handleBlockingTask(int taskID) |
nothing calls this directly
no test coverage detected