The threads package

[Tags:bsd3, library]

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:


[Skip to Readme]

Properties

Versions 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
Dependencies base (>=4.4 && <4.7), base-unicode-symbols (>=0.1.1 && <0.3), stm (>=2.1 && <2.5) [details]
License BSD3
Copyright 2010–2012 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>
Stability experimental
Category Concurrency
Home page https://github.com/basvandijk/threads
Bug tracker https://github.com/basvandijk/threads/issues
Source repository head: git clone git://github.com/basvandijk/threads.git
Uploaded Mon Mar 11 18:55:00 UTC 2013 by BasVanDijk
Distributions Debian:0.5.1.3, Fedora:0.5.1.3, FreeBSD:0.5.1.3, LTSHaskell:0.5.1.4, NixOS:0.5.1.4, Stackage:0.5.1.4, Tumbleweed:0.5.1.4
Downloads 15397 total (66 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for threads

Readme for threads-0.5.0.2

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.