MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / exit

Function exit

TactilityCore/Source/kernel/critical/Critical.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void exit(CriticalInfo info) {
36 if (info.fromIsr) {
37 taskEXIT_CRITICAL_FROM_ISR(info.isrm);
38 } else if (info.kernelRunning) {
39 TT_EXIT_CRITICAL();
40 } else {
41 portENABLE_INTERRUPTS();
42 }
43}
44
45}

Callers 2

DOCTEST_DEFINE_DECORATORFunction · 0.85
__crashFunction · 0.85

Calls

no outgoing calls

Tested by 1

DOCTEST_DEFINE_DECORATORFunction · 0.68