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

create_task_from_thread

Function create_task_from_thread 

Source
pub fn create_task_from_thread(
    process_id: ProcessId,
    thread_id: ThreadId,
    thread: &Thread,
) -> Result<NonNull<Task>, KernelError>
Expand description

Create task from process thread