3 * Integrating Win32 asynchronous I/O with the GHC RTS.
8 #ifndef WIN32_ASYNCHIO_H
9 #define WIN32_ASYNCHIO_H
17 extern unsigned int addDelayRequest(int msecs);
18 extern unsigned int addDoProcRequest(void* proc, void* param);
19 extern int startupAsyncIO(void);
20 extern void shutdownAsyncIO(rtsBool wait_threads);
22 extern int awaitRequests(rtsBool wait);
24 extern void abandonRequestWait(void);
25 extern void resetAbandonRequestWait(void);
27 #endif /* WIN32_ASYNCHIO_H */