Improve some formatting in proc.h

This commit is contained in:
ridiculousfish 2020-08-07 11:38:38 -07:00
parent ef8c397e7b
commit 26fda2bf0d

View file

@ -276,14 +276,19 @@ class process_t {
/// File descriptor that pipe output should bind to. /// File descriptor that pipe output should bind to.
int pipe_write_fd{0}; int pipe_write_fd{0};
/// True if process has completed. /// True if process has completed.
bool completed{false}; bool completed{false};
/// True if process has stopped. /// True if process has stopped.
bool stopped{false}; bool stopped{false};
/// Reported status value. /// Reported status value.
proc_status_t status{}; proc_status_t status{};
/// Last time of cpu time check. /// Last time of cpu time check.
struct timeval last_time {}; struct timeval last_time {};
/// Number of jiffies spent in process at last cpu time check. /// Number of jiffies spent in process at last cpu time check.
unsigned long last_jiffies{0}; unsigned long last_jiffies{0};
}; };