Safe Haskell | Safe-Infered |
---|
Control.Monad.Par.Meta.Resources.SingleThreaded
Contents
Description
A simple single-threaded Resource
that is a useful
accompaniment for testing non-CPU resources such as GPU or
distributed.
Resource creation
Create a single-threaded resource.
Implementation
defaultStartup :: StartupSource
Spawn a single Meta-Par worker.
defaultWorkSearch :: WorkSearchSource
A single-threaded resource by itself is not aware of any other
sources of work, so its WorkSearch
always returns Nothing
.