sys_gettid

Function sys_gettid 

Source
pub fn sys_gettid(
    _abi: &mut LinuxRiscv64Abi,
    trapframe: &mut Trapframe,
) -> usize
Expand description

Linux gettid system call implementation Returns the calling thread ID (TID). For now, this equals Scarlet Task ID.