RTS tidyup sweep, first phase
[ghc-hetmet.git] / rts / win32 / AsyncIO.h
index 2077ea0..27669ce 100644 (file)
@@ -4,8 +4,10 @@
  *
  * (c) sof, 2002-2003.
  */
-#ifndef __ASYNCHIO_H__
-#define __ASYNCHIO_H__
+
+#ifndef WIN32_ASYNCHIO_H
+#define WIN32_ASYNCHIO_H
+
 extern unsigned int
 addIORequest(int   fd,
             int   forWriting,
@@ -15,11 +17,11 @@ addIORequest(int   fd,
 extern unsigned int addDelayRequest(int   msecs);
 extern unsigned int addDoProcRequest(void* proc, void* param);
 extern int  startupAsyncIO(void);
-extern void shutdownAsyncIO(void);
+extern void shutdownAsyncIO(rtsBool wait_threads);
 
 extern int awaitRequests(rtsBool wait);
 
 extern void abandonRequestWait(void);
 extern void resetAbandonRequestWait(void);
 
-#endif /* __ASYNCHIO_H__ */
+#endif /* WIN32_ASYNCHIO_H */