summaryrefslogtreecommitdiff
path: root/rts/IOManager.c
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2021-01-03 18:44:19 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-25 05:11:14 -0500
commit34a8a0e4cf188a30d2b4b65909f24185c80d071e (patch)
treea8c25a0f4112f0dbe1a7a9969be577071d252094 /rts/IOManager.c
parente3564e3893c90dc20aa1949cdb85f41741faf895 (diff)
downloadhaskell-34a8a0e4cf188a30d2b4b65909f24185c80d071e.tar.gz
Remove ioManager{Start,Die,Wakeup} from IOManager.h
They are not part of the IOManager interface used within the rest of the RTS. They are the part of the interface of specific I/O manager implementations. They are no longer called directly elsewhere in the RTS, and are now only called by the dispatch functions in IOManager.c
Diffstat (limited to 'rts/IOManager.c')
-rw-r--r--rts/IOManager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rts/IOManager.c b/rts/IOManager.c
index da1d71dd15..5551e2e2cd 100644
--- a/rts/IOManager.c
+++ b/rts/IOManager.c
@@ -19,12 +19,14 @@
#include "rts/IOInterface.h" // exported
#include "IOManager.h" // RTS internal
#include "Capability.h"
+#include "RtsFlags.h"
-#if !defined(mingw32_HOST_OS) && defined(THREADED_RTS)
+#if !defined(mingw32_HOST_OS)
#include "posix/Signals.h"
#endif
-#if defined(mingw32_HOST_OS) && !defined(THREADED_RTS)
+#if defined(mingw32_HOST_OS)
+#include "win32/ThrIOManager.h"
#include "win32/AsyncMIO.h"
#include "win32/AsyncWinIO.h"
#endif