Package Info

ghc-threads


Fork threads and wait for their result


Development/Libraries/Haskell

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 'forkOn' and 'forkIOWithUnmask'.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/threads

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.5.1.5-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-threads
  • ghc-threads-devel
0.5.1.5-bp150.2.7 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-threads
  • ghc-threads-devel