summaryrefslogtreecommitdiff
path: root/libraries/base/Control/Concurrent.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Control/Concurrent.hs-boot')
-rw-r--r--libraries/base/Control/Concurrent.hs-boot30
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/base/Control/Concurrent.hs-boot b/libraries/base/Control/Concurrent.hs-boot
new file mode 100644
index 0000000000..213340432e
--- /dev/null
+++ b/libraries/base/Control/Concurrent.hs-boot
@@ -0,0 +1,30 @@
+{-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+
+-----------------------------------------------------------------------------
+-- |
+-- Module : Control.Concurrent
+-- Copyright : (c) The University of Glasgow 2018-2019
+-- License : BSD-style (see the file libraries/base/LICENSE)
+--
+-- Maintainer : libraries@haskell.org
+-- Stability : experimental
+-- Portability : non-portable (concurrency)
+--
+-- A common interface to a collection of useful concurrency
+-- abstractions.
+--
+-----------------------------------------------------------------------------
+module Control.Concurrent (
+ -- * Bound Threads
+ rtsSupportsBoundThreads,
+ forkOS
+ ) where
+
+import Data.Bool
+
+import GHC.IO
+import GHC.Conc.Sync
+
+rtsSupportsBoundThreads :: Bool
+forkOS :: IO () -> IO ThreadId