PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
reaper.c File Reference
Include dependency graph for reaper.c:

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()
 

Function Documentation

◆ reaper_thread()

static void reaper_thread ( void *  arg)
static

Definition at line 14 of file reaper.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ zombies

list_t zombies = LIST_CREATE(zombies)
static

Definition at line 10 of file reaper.c.

◆ nextReaperTime

clock_t nextReaperTime = CLOCKS_NEVER
static

Definition at line 11 of file reaper.c.

◆ reaperLock

lock_t reaperLock = LOCK_CREATE()
static

Definition at line 12 of file reaper.c.