projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused includes, now that Storage.h & Stable.h are included by Rts.h
[ghc-hetmet.git]
/
rts
/
win32
/
ConsoleHandler.c
diff --git
a/rts/win32/ConsoleHandler.c
b/rts/win32/ConsoleHandler.c
index
cc0365b
..
afaa424
100644
(file)
--- a/
rts/win32/ConsoleHandler.c
+++ b/
rts/win32/ConsoleHandler.c
@@
-46,6
+46,15
@@
initUserSignals(void)
return;
}
return;
}
+/* Seems to be a bit of an orphan...where used? */
+void
+finiUserSignals(void)
+{
+ if (hConsoleEvent != INVALID_HANDLE_VALUE) {
+ CloseHandle(hConsoleEvent);
+ }
+}
+
/*
* Function: shutdown_handler()
*
/*
* Function: shutdown_handler()
*
@@
-178,7
+187,7
@@
void startSignalHandlers(Capability *cap)
* Evacuate the handler stack. _Assumes_ that console event delivery
* has already been blocked.
*/
* Evacuate the handler stack. _Assumes_ that console event delivery
* has already been blocked.
*/
-void markSignalHandlers (evac_fn evac)
+void markSignalHandlers (evac_fn evac STG_UNUSED)
{
// nothing to mark; the console handler is a StablePtr which is
// already treated as a root by the GC.
{
// nothing to mark; the console handler is a StablePtr which is
// already treated as a root by the GC.