MissingH-1.1.0.2: Large utility librarySource codeContentsIndex
Control.Concurrent.Thread.Utils
Portabilityportable
Stabilityprovisional
MaintainerJohn Goerzen <jgoerzen@complete.org>
Contents
I/O utilities
Description

This module provides various helpful utilities for dealing with threads.

Written by John Goerzen, jgoerzen@complete.org

Synopsis
runInThread :: IO a -> (a -> IO b) -> IO ThreadId
I/O utilities
runInThread :: IO a -> (a -> IO b) -> IO ThreadIdSource
Takes a IO action and a function. The IO action will be called in a separate thread. When it is completed, the specified function is called with its result. This is a simple way of doing callbacks.
Produced by Haddock version 2.6.0