Get rid of the undertaker and have waitpid() be the reaper.

For dead orphans, the scheduler calls reap().
This commit is contained in:
Andreas Kling 2018-11-07 23:59:49 +01:00
commit 1dbc340da8
Notes: sideshowbarker 2024-07-19 18:32:04 +09:00
6 changed files with 45 additions and 60 deletions

View file

@ -14,7 +14,7 @@ public:
static bool yield();
static bool context_switch(Process&);
static void prepare_for_iret_to_new_process();
static void prepare_to_modify_own_tss();
static void prepare_to_modify_tss(Process&);
};
int sched_yield();