add proc_state.threads

This commit is contained in:
Doug MacEachern 2005-11-22 22:26:37 +00:00
parent 2a6c6d566a
commit 059b8554ac
1 changed files with 1 additions and 0 deletions

View File

@ -332,6 +332,7 @@ int sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid,
pinfo->pst_term.psd_minor);
procstate->priority = pinfo->pst_pri;
procstate->nice = pinfo->pst_nice;
procstate->threads = pinfo->pst_nlwps;
switch (pinfo->pst_stat) {
case PS_SLEEP: