| 111 | } |
| 112 | |
| 113 | void terminateOtherThread(const KProcessPtr& process, U32 threadId) { |
| 114 | KThread* thread = process->getThreadById(threadId); |
| 115 | if (thread) { |
| 116 | unscheduleThread(thread); |
| 117 | delete thread; |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | void terminateCurrentThread(KThread* thread) { |
| 122 | thread->terminating = true; |
no test coverage detected