⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module process_compat

Module process_compat 

Source
Expand description

Process compatibility wrapper types

Provides a TaskProcessAdapter struct that wraps the scheduler’s Task representation to present a process-oriented view used by IPC, syscalls, and other kernel subsystems.

Structs§

TaskProcessAdapter
Process-oriented adapter for scheduler tasks.

Functions§

alloc_pid
Allocate new process ID
current_process
Get the current process
find_process
Find process by PID
switch_to_process
Switch to another process