devela::_dep::nc

Function get_robust_list

pub unsafe fn get_robust_list(
    pid: i32,
    head_ptr: *mut *mut robust_list_head_t,
    len_ptr: &mut usize,
) -> Result<(), i32> 
Available on crate feature dep_nc only.
Expand description

Get the robust-futex list head of a task.

Params:

  • pid: pid of the process [zero for current task]
  • head_ptr: pointer to a list-head pointer, the kernel fills it in
  • len_ptr: pointer to a length field, the kernel fills in the header size