| 41 | public: |
| 42 | TaskThread() { /* ... */ } |
| 43 | void StartTask(ITask *task) { |
| 44 | R_ABORT_UNLESS(os::CreateThread(std::addressof(m_thread), RunTaskImpl, task, task->GetStack(), task->GetStackSize(), AMS_GET_SYSTEM_THREAD_PRIORITY(fatalsrv, FatalTaskThread), 3)); |
| 45 | os::SetThreadNamePointer(std::addressof(m_thread), AMS_GET_SYSTEM_THREAD_NAME(fatalsrv, FatalTaskThread)); |
| 46 | os::StartThread(std::addressof(m_thread)); |
| 47 | } |
| 48 | }; |
| 49 | |
| 50 | class TaskManager { |
no test coverage detected