#endif
-- $merge
+#ifdef __GLASGOW_HASKELL__
-- * Bound Threads
-- $boundthreads
-#ifdef __GLASGOW_HASKELL__
rtsSupportsBoundThreads,
forkOS,
isCurrentThreadBound,
mapIO f xs = sequence (map f xs)
#endif /* __HUGS__ */
+#ifdef __GLASGOW_HASKELL__
-- ---------------------------------------------------------------------------
-- Bound Threads
from @main@ or from a @foreign export@.
-}
-#ifdef __GLASGOW_HASKELL__
-
-- | 'True' if bound threads are supported.
-- If @rtsSupportsBoundThreads@ is 'False', 'isCurrentThreadBound'
-- will always return 'False' and both 'forkOS' and 'runInBoundThread' will
Right result -> return result
else action
-#endif
+#endif /* __GLASGOW_HASKELL__ */
-- ---------------------------------------------------------------------------
-- More docs