HTF-0.15.0.0: The Haskell Test Framework
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Framework.ThreadPool

Description

Internal module providing a pool of threads.

Documentation

type ThreadPoolEntry m a b = (m a, a -> IO b, Either SomeException b -> m StopFlag) Source #

data ThreadPool m a b Source #

Constructors

ThreadPool 

Fields

data StopFlag Source #

Constructors

DoStop 
DoNotStop 

Instances

Instances details
Eq StopFlag Source # 
Instance details

Defined in Test.Framework.ThreadPool

Read StopFlag Source # 
Instance details

Defined in Test.Framework.ThreadPool

Show StopFlag Source # 
Instance details

Defined in Test.Framework.ThreadPool

threadPoolTest :: (Int, Int) -> Int -> IO [()] Source #