pub fn walk_threads<P: PhysicalMemoryProvider>(
reader: &ObjectReader<P>,
leader_task_addr: u64,
tgid: u64,
) -> Result<Vec<ThreadInfo>>Expand description
Walk threads for a given process (thread group leader).
Takes the virtual address of the leader task_struct and its tgid,
then walks the thread_group list to enumerate all threads in the group.
The leader itself is always included in the results. Results are sorted
by TID.