pub unsafe extern "C" fn thread_info(
    thread: u32,
    flavor: u32,
    thread_info: *mut i32,
    info_size: *mut u32
) -> kern_return_t
Expand description

Fomr <user/include/mach/thread_act.h>, this retrieves thread info for the for the specified thread.

Note that the info_size parameter is actually the size of the thread_info / 4 as it is the number of words in the thread info