X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.h;h=a628df45263f258b519c311d88e7cc67f0d138c0;hp=921448305764109d83907981826e498853e68fbf;hb=9bf4bc297a7cb88f4f886c6b8d600fd6c584139c;hpb=c252837b853b35f06fffe637b2a6bf16419da954 diff --git a/signal.h b/signal.h index 92144830..a628df45 100644 --- a/signal.h +++ b/signal.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 Andre Noll + * Copyright (C) 2007-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -12,14 +12,13 @@ struct signal_task { /** The signal pipe. */ int fd; - /** The number of the most recent signal. */ - int signum; /** The associated task structure. */ struct task task; }; int para_signal_init(void); -int para_install_sighandler(int); -void para_reap_children(void); -pid_t para_reap_child(void); +void para_sigaction(int sig, void (*handler)(int)); +void para_install_sighandler(int); +int para_reap_child(pid_t *pid); int para_next_signal(void); +void para_signal_shutdown(void);