mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Kernel: Remove unused Process::all_pids()
This commit is contained in:
parent
374972578d
commit
db14092d8f
2 changed files with 0 additions and 12 deletions
|
@ -84,17 +84,6 @@ UNMAP_AFTER_INIT void Process::initialize()
|
|||
create_signal_trampoline();
|
||||
}
|
||||
|
||||
Vector<ProcessID> Process::all_pids()
|
||||
{
|
||||
Vector<ProcessID> pids;
|
||||
processes().with_shared([&](const auto& list) {
|
||||
pids.ensure_capacity(list.size_slow());
|
||||
for (const auto& process : list)
|
||||
pids.append(process.pid());
|
||||
});
|
||||
return pids;
|
||||
}
|
||||
|
||||
NonnullRefPtrVector<Process> Process::all_processes()
|
||||
{
|
||||
NonnullRefPtrVector<Process> output;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue