use compiler/coq/Makefile to decide if "git submodule update" is required
[ghc-hetmet.git] / includes / rts / IOManager.h
index 1c269ad..bf93d97 100644 (file)
@@ -4,6 +4,11 @@
  *
  * IO Manager functionality in the RTS
  *
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
  * -------------------------------------------------------------------------- */
 
 #ifndef RTS_IOMANAGER_H
@@ -21,7 +26,8 @@ void     sendIOManagerEvent (HsWord32 event);
 
 #else
 
-void     setIOManagerPipe   (int fd);
+void     setIOManagerControlFd   (int fd);
+void     setIOManagerWakeupFd   (int fd);
 
 #endif
 
@@ -30,8 +36,8 @@ void     setIOManagerPipe   (int fd);
 // Posix implementation in posix/Signals.c
 // Win32 implementation in win32/ThrIOManager.c
 //
-#if defined(THREADED_RTS)
 void ioManagerWakeup (void);
+#if defined(THREADED_RTS)
 void ioManagerDie (void);
 void ioManagerStart (void);
 #endif