summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-12 17:27:04 +0000
committerMiles Bader <miles@gnu.org>1996-05-12 17:27:04 +0000
commit286e17fd95f692b2759ac36ef4d8f5defee8a6db (patch)
treeb22ad6c9e5f22fe6017eb50595a123255823a232
parent626e94afb65df51e0685efe105e57bb72e23fb2f (diff)
Frob comment.
-rw-r--r--libps/procstat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 9c674bf2..8060faf6 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -446,7 +446,9 @@ get_thread_info (struct procinfo *pi, unsigned index)
}
/* Returns a pointer to the Nth entry in the '\0'-separated vector of strings
- in ARGZ & ARGZ_LEN. */
+ in ARGZ & ARGZ_LEN. Note that we don't have to do the bit with only
+ counting non-dead threads like get_thread_info does, because the
+ thread_waits string vector only contains entries for live threads. */
char *
get_thread_wait (char *waits, size_t waits_len, unsigned n)
{