HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.5.1.8Concurrency

threads

Fork threads and wait for their result

Modules

2 modules

Description

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.

Depends on

2 packages

Used by in this set · 0

Nothing in this set depends on it.