| 200 | } |
| 201 | |
| 202 | void |
| 203 | GenericSchedulerThreadWatcher::handleBlockingTask(int taskID) |
| 204 | { |
| 205 | BlockingTaskEnum task = (BlockingTaskEnum)taskID; |
| 206 | |
| 207 | switch (task) { |
| 208 | case eBlockingTaskWaitForAbort: |
| 209 | _thread->abortThreadedTask(); |
| 210 | _thread->waitForAbortToComplete_not_main_thread(); |
| 211 | break; |
| 212 | |
| 213 | case eBlockingTaskWaitForQuitAllowRestart: |
| 214 | case eBlockingTaskWaitForQuitDisallowRestart: |
| 215 | _thread->quitThread(task == eBlockingTaskWaitForQuitAllowRestart); |
| 216 | _thread->waitForThreadToQuit_not_main_thread(); |
| 217 | break; |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | void |
| 222 | RenderEngineWatcher::handleBlockingTask(int taskID) |
nothing calls this directly
no test coverage detected