Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Control.CUtils.ThreadPool
Contents
Description
Implements rudimentary thread pools.
- class ThreadPool pool where
- class Interruptible pool where
- data NoPool = NoPool
- data BoxedThreadPool where
- BoxedThreadPool :: ThreadPool pool => pool -> BoxedThreadPool
Thread pools
class ThreadPool pool where Source #
Thread pools support some standard operations...
Minimal complete definition
Instances
class Interruptible pool where Source #
Minimal complete definition
data BoxedThreadPool where Source #
Constructors
BoxedThreadPool :: ThreadPool pool => pool -> BoxedThreadPool |
Instances