uni-events-2.2.0.0: Event handling for the uniform workbench

Events.Spawn

Description

Spawn provides an interface to Concurrent.forkIO which is supposed to be implementable for both Hugs and GHC.

This is the GHC implementation.

Synopsis

Documentation

spawn :: IO () -> IO (IO ())Source

Do a fork, returning an action which may attempt to kill the forked thread. (Or may not . . .)