Windows: add pthread_sigmask() that does nothing
[gitweb.git] / run-command.h
index 5b4425a3cbe1aea2bae40c4e060e45ee2d7a29a5..a3043b16dfffdae5662aef2b0bef1c1b91fc7606 100644 (file)
@@ -47,9 +47,11 @@ struct child_process {
 
 #define CHILD_PROCESS_INIT { NULL, ARGV_ARRAY_INIT, ARGV_ARRAY_INIT }
 void child_process_init(struct child_process *);
+void child_process_clear(struct child_process *);
 
 int start_command(struct child_process *);
 int finish_command(struct child_process *);
+int finish_command_in_signal(struct child_process *);
 int run_command(struct child_process *);
 
 /*
@@ -114,9 +116,12 @@ struct async {
        int proc_in;
        int proc_out;
 #endif
+       int isolate_sigpipe;
 };
 
 int start_async(struct async *async);
 int finish_async(struct async *async);
+int in_async(void);
+void NORETURN async_exit(int code);
 
 #endif