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

Function unscheduleThread

source/kernel/kscheduler.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void unscheduleThread(KThread* thread) {
109 thread->scheduledThreadNode.remove();
110 thread->cpu->yield = true;
111}
112
113void terminateOtherThread(const KProcessPtr& process, U32 threadId) {
114 KThread* thread = process->getThreadById(threadId);

Callers 6

internalCleanupMethod · 0.70
runSignalMethod · 0.70
terminateOtherThreadFunction · 0.70
terminateCurrentThreadFunction · 0.70
waitMethod · 0.50
waitWithTimeoutMethod · 0.50

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected