|
PatchworkOS
|
#include <kernel/fs/namespace.h>#include <kernel/fs/sysfs.h>#include <kernel/fs/vfs_ctx.h>#include <kernel/mem/space.h>#include <kernel/proc/argv.h>#include <kernel/sched/sched.h>#include <kernel/sched/wait.h>#include <kernel/sync/futex.h>#include <kernel/utils/ref.h>#include <stdatomic.h>Go to the source code of this file.
Data Structures | |
| struct | process_threads_t |
| Process threads structure. More... | |
| struct | process_t |
| Process structure. More... | |
Functions | |
| process_t * | process_new (process_t *parent, const char **argv, const path_t *cwd, priority_t priority) |
| Allocates and initializes a new process. | |
| void | process_kill (process_t *process, uint64_t status) |
| Kills a process. | |
| bool | process_is_child (process_t *process, pid_t parentId) |
| Checks if a process is a child of another process. | |
| process_t * | process_get_kernel (void) |
| Gets the kernel process. | |
| void | process_procfs_init (void) |
Initializes the /proc directory. | |