From e3f65c8ec2fe81c50514dcf21c335e5d39c1a223 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 14 Sep 2017 17:10:39 -0300 Subject: Make 'c' key work with threads as well. --- Process.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Process.c') diff --git a/Process.c b/Process.c index 394ca25d..6551afd7 100644 --- a/Process.c +++ b/Process.c @@ -172,6 +172,8 @@ typedef struct ProcessClass_ { #define As_Process(this_) ((ProcessClass*)((this_)->super.klass)) +#define Process_isChildOf(process_, pid_) (process_->tgid == pid_ || (process_->tgid == process_->pid && process_->ppid == pid_)) + }*/ static int Process_getuid = -1; -- cgit v1.2.3