projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use cas() to claim the closure in copyPart(), to match copy_tag()
[ghc-hetmet.git]
/
rts
/
RtsSignals.h
diff --git
a/rts/RtsSignals.h
b/rts/RtsSignals.h
index
721561e
..
601a46b
100644
(file)
--- a/
rts/RtsSignals.h
+++ b/
rts/RtsSignals.h
@@
-6,10
+6,10
@@
*
* ---------------------------------------------------------------------------*/
*
* ---------------------------------------------------------------------------*/
-#ifndef RTS_SIGNALS_H
-#define RTS_SIGNALS_H
+#ifndef RTSSIGNALS_H
+#define RTSSIGNALS_H
-#if !defined(PAR) && !defined(mingw32_HOST_OS)
+#if !defined(mingw32_HOST_OS)
#include "posix/Signals.h"
#include "posix/Signals.h"
@@
-17,12
+17,11
@@
#include "win32/ConsoleHandler.h"
#include "win32/ConsoleHandler.h"
-#else /* PAR */
+#else
#define signals_pending() (rtsFalse)
#define signals_pending() (rtsFalse)
-#endif /* PAR */
-
+#endif
#if RTS_USER_SIGNALS
#if RTS_USER_SIGNALS
@@
-40,6
+39,7
@@
extern void initUserSignals(void);
* Ctrl+C handler that shuts down the RTS in an orderly manner.
*/
extern void initDefaultHandlers(void);
* Ctrl+C handler that shuts down the RTS in an orderly manner.
*/
extern void initDefaultHandlers(void);
+extern void resetDefaultHandlers(void);
extern void freeSignalHandlers(void);
extern void freeSignalHandlers(void);
@@
-77,4
+77,4
@@
extern void markSignalHandlers (evac_fn evac, void *user);
#endif /* RTS_USER_SIGNALS */
#endif /* RTS_USER_SIGNALS */
-#endif /* RTS_SIGNALS_H */
+#endif /* RTSSIGNALS_H */