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:
parent
5a45376180
commit
8bb98aa31b
5 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue