MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / terminateCurrentThread

Function terminateCurrentThread

source/kernel/kscheduler.cpp:121–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void terminateCurrentThread(KThread* thread) {
122 thread->terminating = true;
123 unscheduleThread(thread);
124}
125
126S32 contextTime = 100000;
127S32 contextTimeRemaining = 100000;

Callers 4

ksyscallFunction · 0.70
exitMethod · 0.70
exitgroupMethod · 0.70
signalMethod · 0.70

Calls 1

unscheduleThreadFunction · 0.70

Tested by

no test coverage detected