summaryrefslogtreecommitdiffstats
path: root/lib/process/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/process/process.h')
-rw-r--r--lib/process/process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/process/process.h b/lib/process/process.h
index 65fdba8..f858b0e 100644
--- a/lib/process/process.h
+++ b/lib/process/process.h
@@ -45,6 +45,7 @@ struct process {
/* post-execution information */
int exit_status;
+ bool cancelled;
};
/* Process management system init. process_init must be called before
@@ -77,6 +78,7 @@ int process_run_simple(void *ctx, const char *name, ...)
int process_run_async(struct process *process);
void process_stop_async(struct process *process);
+void process_stop_async_all(void);
/* helper function to determine if a process exited cleanly, with a non-zero
* exit status */
OpenPOWER on IntegriCloud