⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
get_current_thread_id
veridian_
kernel
0.25.2
In veridian_
kernel::
sched
veridian_kernel
::
sched
Function
get_
current_
thread_
id
Copy item path
Source
pub fn get_current_thread_id() -> u64
Expand description
Get the current thread ID from the running task.