MCPcopy Create free account
hub / github.com/Atmosphere-NX/Atmosphere / StartTask

Method StartTask

stratosphere/fatal/source/fatal_task.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

StartTaskMethod · 0.45
RunTasksFunction · 0.45

Calls 5

SetThreadNamePointerFunction · 0.85
GetStackMethod · 0.80
CreateThreadFunction · 0.50
StartThreadFunction · 0.50
GetStackSizeMethod · 0.45

Tested by

no test coverage detected