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

create_thread

Function create_thread 

Source
pub fn create_thread(
    entry_point: ThreadEntryPoint,
    arg: *mut u8,
    attributes: ThreadAttributes,
    process_id: ProcessId,
) -> KernelResult<Arc<ThreadHandle>>
Expand description

Create a new thread