summaryrefslogtreecommitdiff
path: root/includes/rts/Threads.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-03 13:19:33 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-03 13:19:33 +0000
commit653e325e08c5f632aa194f9239e938faca5abba5 (patch)
treefaf00221c188234def4ae08f15949a3e42b90a34 /includes/rts/Threads.h
parent4c083061fa937ca7d05211e516002d9e4c14af2d (diff)
downloadhaskell-653e325e08c5f632aa194f9239e938faca5abba5.tar.gz
Windows build fixes
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r--includes/rts/Threads.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h
index 06a0ed11dc..4f343b804c 100644
--- a/includes/rts/Threads.h
+++ b/includes/rts/Threads.h
@@ -34,7 +34,14 @@ StgRegTable * resumeThread (void *);
//
int cmp_thread (StgPtr tso1, StgPtr tso2);
int rts_getThreadId (StgPtr tso);
+
+#if !defined(mingw32_HOST_OS)
pid_t forkProcess (HsStablePtr *entry);
+#else
+pid_t forkProcess (HsStablePtr *entry)
+ GNU_ATTRIBUTE(__noreturn__);
+#endif
+
HsBool rtsSupportsBoundThreads (void);
// The number of Capabilities