Skip to main content

SYS_SET_TID_ADDRESS

Constant SYS_SET_TID_ADDRESS 

Source
pub const SYS_SET_TID_ADDRESS: usize = 333;
Expand description

Set the clear-on-exit TID address for the current thread.

  • tidptr: pointer to the TID variable (for CLONE_CHILD_CLEARTID)

When the thread exits, the kernel clears the memory at tidptr and wakes any futex waiters on that address.