packages feed

papa-0.7.0: src/Papa/Base/Control/Concurrent.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}

-- | Threads and mutable variables shared between them.
--
-- 'forkFinally' runs an action when the thread ends, with how it ended: the
-- way to fork a thread whose failure must be seen.
--
-- @since 0.7.0
module Papa.Base.Control.Concurrent (
  module P,
) where

import Control.Concurrent as P (
  MVar,
  ThreadId,
  forkFinally,
  forkIO,
  killThread,
  modifyMVar,
  modifyMVar_,
  myThreadId,
  newEmptyMVar,
  newMVar,
  putMVar,
  readMVar,
  takeMVar,
  threadDelay,
  tryReadMVar,
  tryTakeMVar,
 )