Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fork threads and wait for their result
Haskell Nix
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Control/Concurrent Remove UnicodeSyntax and dependency on base-unicode-symbols
test
LICENSE
README.markdown
Setup.hs
default.nix
shell.nix
threads.cabal
threads.nix

README.markdown

This package provides functions to fork threads and wait for their result, whether it's an exception or a normal value.

Besides waiting for the termination of a single thread this packages also provides functions to wait for a group of threads to terminate.

This package is similar to the threadmanager, async and spawn packages. The advantages of this package are:

  • Simpler API.

  • More efficient in both space and time.

  • No space-leak when forking a large number of threads.

  • Correct handling of asynchronous exceptions.

  • GHC specific functionality like forkOnIO and forkIOUnmasked.

Something went wrong with that request. Please try again.