1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

Kernel: Remove Process::all_processes()

This was only used in ProcFS, which can use the `processes()` list just
as well, so let's remove it.
This commit is contained in:
Idan Horowitz 2021-12-29 00:41:05 +02:00 committed by Andreas Kling
parent 81e23617d6
commit 3d0b5efcfc
3 changed files with 4 additions and 16 deletions

View file

@ -186,8 +186,6 @@ public:
bool unref() const;
~Process();
static NonnullRefPtrVector<Process> all_processes();
RefPtr<Thread> create_kernel_thread(void (*entry)(void*), void* entry_data, u32 priority, NonnullOwnPtr<KString> name, u32 affinity = THREAD_AFFINITY_DEFAULT, bool joinable = true);
bool is_profiling() const { return m_profiling; }