X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.h;h=921448305764109d83907981826e498853e68fbf;hp=50c5f636a84168f637ae26db9a41086d5177580f;hb=c252837b853b35f06fffe637b2a6bf16419da954;hpb=cb6d1dfb9e4067229a4bbde0abd05784d97ef14b diff --git a/signal.h b/signal.h index 50c5f636..92144830 100644 --- a/signal.h +++ b/signal.h @@ -6,6 +6,18 @@ /** \file signal.h exported symbols from signal.c */ +/** + * Task for signal handling. + */ +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);