Skip to main content

read_thread_pointer

Function read_thread_pointer 

Source
pub fn read_thread_pointer() -> usize
Expand description

Reads the thread pointer of the current CPU (FS_BASE).

It is used to implement TLS (Thread Local Storage).