threads

Fork threads and wait for their result https://github.com/basvandijk/threads

Version on this page:0.5.1.3
LTS Haskell 16.4:0.5.1.6
Stackage Nightly 2020-07-04:0.5.1.6
Latest on Hackage:0.5.1.6

See all snapshots threads appears in

BSD-3-Clause licensed and maintained by Bas van Dijk <[email protected]> Roel van Dijk

Module documentation for 0.5.1.3

This version can be pinned in stack with:[email protected]:ff401adc15c06f3e8b2c3a2ec8211da0d15352b14cf2283d453e314720a23ace,2610

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.

Depends on 2 packages(full list with versions):
Used by 1 package in lts-3.22(full list with versions):