Function tasklist::get_proc_threads
source · pub unsafe fn get_proc_threads(pid: u32) -> Vec<u32>
Expand description
get process thread id from pid , it will return Vec<u32>
.
use tasklist;
unsafe{
println!("{:?}",tasklist::get_proc_threads(17716));
}
OR
use tasklist::info;
unsafe{
println!("{:?}",info::get_proc_threads(17716));
}