Skip to main content

sys_thread_create

Function sys_thread_create 

Source
pub fn sys_thread_create(
    frame: &SyscallFrame,
    entry: u64,
    stack_top: u64,
    arg0: u64,
    flags: u64,
    tls_base: u64,
) -> Result<u64, SyscallError>
Expand description

SYS_THREAD_CREATE (341): create a userspace thread sharing current process resources.