diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-01 19:17:17 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-01 19:17:17 +0100 |
commit | 8bb98aa31b2381cfe90c182d8516ddbddfdbf9b3 (patch) | |
tree | 87700e344334d574d58bf21bd730f3c9acf250f7 /Kernel/Scheduler.h | |
parent | 5a45376180fe589622a169828bb030eb929a509d (diff) | |
download | serenity-8bb98aa31b2381cfe90c182d8516ddbddfdbf9b3.zip |
Kernel: Use a WaitQueue to implement finalizer wakeup
This gets rid of the special "Lurking" thread state and replaces it
with a generic WaitQueue :^)
Diffstat (limited to 'Kernel/Scheduler.h')
-rw-r--r-- | Kernel/Scheduler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Scheduler.h b/Kernel/Scheduler.h index f69a206020..bbf086a107 100644 --- a/Kernel/Scheduler.h +++ b/Kernel/Scheduler.h @@ -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; |