MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / MainThread

Method MainThread

source/scheduler/MainThread.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 */
73
74 MainThread(const uint8_t priority, ThreadGroupControlBlock& threadGroupControlBlock,
75 SignalsReceiver* const signalsReceiver) :
76 UndetachableThread{stackWrapper(architecture::getMainStack()), priority,
77 SchedulingPolicy::roundRobin, &threadGroupControlBlock, signalsReceiver}
78 {
79
80 }
81
82 /**
83 * \brief Low-level initializer of main() thread and scheduler

Callers

nothing calls this directly

Calls 2

stackWrapperFunction · 0.85
getMainStackFunction · 0.85

Tested by

no test coverage detected