aboutsummaryrefslogtreecommitdiff
path: root/libps/procstat.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (thread_state, proc_stat_set_flags): Use the new state bits.Miles Bader1995-08-191-20/+19
| | | | | | (proc_stat_set_flags): Actually set the PSTAT_STATE_P_STOP bit. (proc_stat_state_tags): Reordered to reflect the new ordering of the state bits.
* If a msg port call times out, disable use of that msg port.Miles Bader1995-05-051-32/+51
|
* (proc_stat_set_flags, add_preconditions): Add support for the suspend_countMiles Bader1995-05-021-0/+15
| | | | field.
* (add_preconditions): A new function that calculates inter-flag dependencies;Miles Bader1995-05-021-29/+91
| | | | | | | | | | | code moved here from from proc_stat_set_flags. (should_suppress_msgport): A new function that returns true when there's some condition indicating that we shouldn't use a process's msg port. (proc_stat_set_flags): Avoid using a process's msg port when it may be unusable. (proc_stat_set_flags): Set PSTAT_STATE_FORKED instead of PSTAT_STATE_EXECED. (proc_stat_state_tags): Change the user state letter to "f" from "e".
* Tighten up types used (i.e., don't use int for everything).Miles Bader1995-04-071-6/+6
|
* (proc_stat_set_flags): If PSTAT_NO_MSGPORT is set, don't use the msg port.Miles Bader1995-04-051-3/+10
|
* Don't get barf on processes with zero threads.Miles Bader1995-03-291-4/+6
|
* Add support for the exec_flags field, and make the state bits calculation useMiles Bader1995-03-281-2/+11
| | | | | that to support the PSTAT_STATE_TRACED bit. Update proc_stat_state_tags to add PSTAT_STATE_TRACED.
* Include <string.h>.Michael I. Bushnell1995-03-211-0/+1
|
* Set the PSTAT_STATE_PRIORITY and PSTAT_STATE_NICED flags when appropiate.Miles Bader1995-03-151-0/+5
|
* A proc_stat_t points to a ps_context_t now instead of directly to the procMiles Bader1995-03-141-53/+22
| | | | | | | server (but we can get the proc server from the context). Added the owner (ps_user_t) field to proc_stat_t, and tty now points to a ps_tty_t instead of to a tty port; tty_name is deleted since that gets handled in the ps_tty_t.
* Initial revisionMiles Bader1995-03-131-0/+419