Skip to main content

SYS_THREAD_CREATE

Constant SYS_THREAD_CREATE 

Source
pub const SYS_THREAD_CREATE: usize = 341; // 341usize
Expand description

Create a new thread within the current process.

  • entry: thread entry point address
  • stack: thread stack base address
  • arg: argument passed to the thread entry point

Returns the new thread ID (TID).