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

Kernel: Use a WaitQueue to implement finalizer wakeup

This gets rid of the special "Lurking" thread state and replaces it
with a generic WaitQueue :^)
This commit is contained in:
Andreas Kling 2019-12-01 19:17:17 +01:00
parent 5a45376180
commit 8bb98aa31b
5 changed files with 9 additions and 9 deletions

View file

@ -7,12 +7,14 @@
class Process;
class Thread;
class WaitQueue;
struct RegisterDump;
struct SchedulerData;
extern Thread* current;
extern Thread* g_last_fpu_thread;
extern Thread* g_finalizer;
extern WaitQueue* g_finalizer_wait_queue;
extern u64 g_uptime;
extern SchedulerData* g_scheduler_data;