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: http://hackage.haskell.org/package/threadmanager. The advantages of this package are:

Versions [faq] 0.1, 0.1.0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.0.1, 0.4.0.2, 0.5, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.1.0, 0.5.1.1, 0.5.1.2, 0.5.1.3, 0.5.1.4, 0.5.1.5, 0.5.1.6
Dependencies base (>=3 && <4.3), base-unicode-symbols (>=0.1.1 && <0.3), concurrent-extra (==0.5.*) [details]
License BSD-3-Clause
Copyright (c) 2010 Bas van Dijk & Roel van Dijk
Author Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Maintainer Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Revised Revision 1 made by HerbertValerioRiedel at Sat Jun 1 14:49:09 UTC 2019
Category Concurrency
Source repo head: darcs get http://code.haskell.org/~basvandijk/code/threads
Uploaded by BasVanDijk at Wed Apr 7 13:10:04 UTC 2010
Distributions Arch:0.5.1.6, Debian:0.5.1.6, Fedora:0.5.1.6, FreeBSD:0.5.1.3, LTSHaskell:0.5.1.6, NixOS:0.5.1.6, Stackage:0.5.1.6
Executables test-threads
Downloads 25300 total (368 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
test

Build the testing suite

DisabledManual
hpc

Enable program coverage on test executable

DisabledManual
nolib

Don't build the library

DisabledManual

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

Downloads

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