|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <kernel/proc/reaper.h>#include <kernel/log/panic.h>#include <kernel/proc/process.h>#include <kernel/sched/sched.h>#include <kernel/sched/thread.h>#include <kernel/sync/lock.h>#include <kernel/sched/clock.h>Go to the source code of this file.
Functions | |
| static void | reaper_thread (void *arg) |
| void | reaper_init (void) |
| Initializes the process reaper. | |
| void | reaper_push (process_t *process) |
| Pushes a process to be reaped later. | |
Variables | |
| static list_t | zombies = LIST_CREATE(zombies) |
| static clock_t | nextReaperTime = CLOCKS_NEVER |
| static lock_t | reaperLock = LOCK_CREATE() |
|
static |
|
static |
|
static |
|
static |