random is now -Wall clean
[ghc-hetmet.git] / rts / posix / Signals.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2005
4  *
5  * Signal processing / handling.
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef POSIX_SIGNALS_H
10 #define POSIX_SIGNALS_H
11
12 extern rtsBool anyUserHandlers(void);
13
14 #if !defined(THREADED_RTS)
15 extern StgPtr pending_handler_buf[];
16 extern StgPtr *next_pending_handler;
17 #define signals_pending() (next_pending_handler != pending_handler_buf)
18 void startSignalHandlers(Capability *cap);
19 #endif
20
21 extern StgInt *signal_handlers;
22
23 #endif /* POSIX_SIGNALS_H */
24