Function read_thread_pointer

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).