summaryrefslogtreecommitdiff
path: root/rts/win32
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2021-01-03 14:50:58 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-25 05:11:14 -0500
commit8bdbfdd8e03f44572e683d221dd40ca81b0ed852 (patch)
treed4bb11a345750b9b55540b77ff93782f7ebc5d4d /rts/win32
parent083d7aeb5b0f9e47bf34459415367502492c5e06 (diff)
downloadhaskell-8bdbfdd8e03f44572e683d221dd40ca81b0ed852.tar.gz
Rename includes/rts/IOManager.h to IOInterface.h
Naming is hard. Where we want to get to is to have a clear internal and external API for the IO manager within the RTS. What we have right now is just the external API (used in base for the Haskell side of the threaded IO manager impls) living in includes/rts/IOManager.h. We want to add a clear RTS internal API, which really ought to live in rts/IOManager.h. Several people think it's too confusing to have both: * includes/rts/IOManager.h for the external API * rts/IOManager.h for the internal API So the plan is to add rts/IOManager.{h,c} as the internal parts, and rename the external part to be includes/rts/IOInterface.h. It is admittidly not great to have .h files in includes/rts/ called "interface" since by definition, every .h fle under includes/ is an interface! Alternative naming scheme suggestions welcome!
Diffstat (limited to 'rts/win32')
-rw-r--r--rts/win32/AsyncWinIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/AsyncWinIO.c b/rts/win32/AsyncWinIO.c
index 660a687f99..f6921fd4e5 100644
--- a/rts/win32/AsyncWinIO.c
+++ b/rts/win32/AsyncWinIO.c
@@ -9,7 +9,7 @@
*/
#include "Rts.h"
-#include <rts/IOManager.h>
+#include <rts/IOInterface.h>
#include "AsyncWinIO.h"
#include "Prelude.h"
#include "Capability.h"