| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
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
| |
sequentialThreadPool :: MonadIO m => ThreadPool m a b Source #
parallelThreadPool :: MonadIO m => Int -> m (ThreadPool m a b) Source #