mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
Improve some formatting in proc.h
This commit is contained in:
parent
ef8c397e7b
commit
26fda2bf0d
1 changed files with 5 additions and 0 deletions
|
@ -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};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue