diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-05 19:31:18 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-05 19:38:13 -0300 |
commit | 0dbedf95a8fac09bcdab2be89339593973348acb (patch) | |
tree | db2ae61fca98ea0fd4c3b413d7fadd196f38d975 /Process.h | |
parent | 42c3a1fcb39458b6f8f39539baef94158bacf164 (diff) |
Collapse current subtree pressing Backspace
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -156,6 +156,8 @@ typedef struct ProcessClass_ { #define As_Process(this_) ((ProcessClass*)((this_)->super.klass)) +#define Process_getParentPid(process_) (process_->tgid == process_->pid ? process_->ppid : process_->tgid) + #define Process_isChildOf(process_, pid_) (process_->tgid == pid_ || (process_->tgid == process_->pid && process_->ppid == pid_)) #define Process_sortState(state) ((state) == 'I' ? 0x100 : (state)) |