1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Kernel: Remove Process::any_thread()

This was a holdover from the old times when each Process had a special
main thread with TID 0. Using it was a total crapshoot since it would
just return whichever thread was first on the process's thread list.

Now that I've removed all uses of it, we don't need it anymore. :^)
This commit is contained in:
Andreas Kling 2020-05-16 12:40:15 +02:00
parent 24d5855428
commit f7a75598bb
2 changed files with 0 additions and 13 deletions

View file

@ -386,8 +386,6 @@ public:
u16 thread_count() const { return m_thread_count; }
Thread& any_thread();
Lock& big_lock() { return m_big_lock; }
struct ELFBundle {