1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2005
5 * Signal processing / handling.
7 * ---------------------------------------------------------------------------*/
9 #ifndef POSIX_SIGNALS_H
10 #define POSIX_SIGNALS_H
16 extern rtsBool anyUserHandlers(void);
18 #if !defined(THREADED_RTS)
19 extern siginfo_t pending_handler_buf[];
20 extern siginfo_t *next_pending_handler;
21 #define signals_pending() (next_pending_handler != pending_handler_buf)
22 void startSignalHandlers(Capability *cap);
25 extern StgInt *signal_handlers;
27 #endif /* POSIX_SIGNALS_H */