| 1630 | } |
| 1631 | |
| 1632 | void KProcess::killAllThreads(KThread* exceptThisThread) { |
| 1633 | iterateThreadIds([this, exceptThisThread](U32 id) { |
| 1634 | if (!exceptThisThread || exceptThisThread->id != id) { |
| 1635 | terminateOtherThread(shared_from_this(), id); |
| 1636 | } |
| 1637 | return true; |
| 1638 | }); |
| 1639 | } |
| 1640 | |
| 1641 | U32 KProcess::exitgroup(KThread* thread, U32 code) { |
| 1642 | KProcessPtr parent = KSystem::getProcess(this->parentId); |
no test coverage detected