Function tikv_util::metrics::get_thread_ids[][src]

pub fn get_thread_ids(pid: pid_t) -> Result<Vec<pid_t>>

Gets thread ids of the given process id. WARN: Don’t call this function frequently. Otherwise there will be a lot of memory fragments.