Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data Race :: Effect where Source #
Abstract the concept of running two programs concurrently, aborting the other when one terminates.
Timeout
is a simpler variant, where one thread just sleeps for a given interval.