X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.h;h=1e562af76ffb4487d206be001a909ca0a6a9311d;hp=799c317fd6114046334c8577fabbe767e20eea94;hb=00b149c25084c7e98b995c155344051df5f7da1e;hpb=b62e2796b85c7d7f3138fe729f4637853e0fafe0 diff --git a/signal.h b/signal.h index 799c317f..1e562af7 100644 --- a/signal.h +++ b/signal.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2011 Andre Noll + * Copyright (C) 2007 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -13,7 +13,7 @@ struct signal_task { /** The signal pipe. */ int fd; /** The associated task structure. */ - struct task task; + struct task *task; }; int para_signal_init(void); @@ -22,3 +22,5 @@ void para_install_sighandler(int); int para_reap_child(pid_t *pid); int para_next_signal(fd_set *rfds); void para_signal_shutdown(void); +void para_block_signal(int sig); +void para_unblock_signal(int sig);