threads: Fork threads and wait for their result

[ bsd3, concurrency, library ] [ Propose Tags ]

This package provides functions to fork threads and wait for their termination. The result of a thread can also be retrieved, 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 advantages of this package are:

Versions [RSS] [faq] 0.1,, 0.2, 0.3, 0.3.1, 0.4,,, 0.5,,,,,,,,,,
Dependencies base (>=3 && <4.3), base-unicode-symbols (>=0.1.1 && <0.3), concurrent-extra (>=0.5.1 && <0.6), stm (==2.1.*) [details]
License BSD-3-Clause
Copyright (c) 2010 Bas van Dijk & Roel van Dijk
Author Bas van Dijk <> Roel van Dijk <>
Maintainer Bas van Dijk <> Roel van Dijk <>
Revised Revision 1 made by HerbertValerioRiedel at 2019-06-01T14:46:27Z
Category Concurrency
Source repo head: darcs get
Uploaded by BasVanDijk at 2010-05-19T18:47:01Z
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:
Executables test-threads
Downloads 32205 total (166 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]



Manual Flags


Build the testing suite


Enable program coverage on test executable


Don't build the library

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees