summaryrefslogtreecommitdiff
path: root/rts/RtsStartup.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-12-01 14:07:53 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-12-01 14:07:53 +0000
commitde6c8e5293c9ef68b597ab2e6d55c3f42a283489 (patch)
treea5e9a295a2c8485b81a901f9f80465cfe40a4cc9 /rts/RtsStartup.c
parent8971f720a67113308e346598814221228b12a4fc (diff)
downloadhaskell-de6c8e5293c9ef68b597ab2e6d55c3f42a283489.tar.gz
Remove the Windows Async IO Manager completely in THREADED_RTS mode
It isn't used here anyway, just making sure the code doesn't get compiled in.
Diffstat (limited to 'rts/RtsStartup.c')
-rw-r--r--rts/RtsStartup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index c2f765a9be..dba529bb20 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -56,7 +56,7 @@
# include "LLC.h"
#endif
-#if defined(mingw32_HOST_OS)
+#if defined(mingw32_HOST_OS) && !defined(THREADED_RTS)
#include "win32/AsyncIO.h"
#endif
@@ -254,7 +254,7 @@ hs_init(int *argc, char **argv[])
initDefaultHandlers();
#endif
-#if defined(mingw32_HOST_OS)
+#if defined(mingw32_HOST_OS) && !defined(THREADED_RTS)
startupAsyncIO();
#endif
@@ -465,7 +465,7 @@ hs_exit(void)
if (RtsFlags.TickyFlags.showTickyStats) PrintTickyInfo();
#endif
-#if defined(mingw32_HOST_OS)
+#if defined(mingw32_HOST_OS) && !defined(THREADED_RTS)
shutdownAsyncIO();
#endif