Function axhal::arch::read_thread_pointer

source ·
pub fn read_thread_pointer() -> usize
Expand description

Reads the thread pointer of the current CPU.

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