summaryrefslogtreecommitdiff
path: root/Kernel/Scheduler.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-01 19:17:17 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-01 19:17:17 +0100
commit8bb98aa31b2381cfe90c182d8516ddbddfdbf9b3 (patch)
tree87700e344334d574d58bf21bd730f3c9acf250f7 /Kernel/Scheduler.h
parent5a45376180fe589622a169828bb030eb929a509d (diff)
downloadserenity-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.h2
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;