Package0.5.1.8Concurrency
threads
Fork threads and wait for their result
- Version0.5.1.8
- CategoryConcurrency
- LicenceBSD-3-Clause
- AuthorBas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
- MaintainerBas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
- Homepagegithub.com/basvandijk/threads
- Pinned byhackage threads 0.5.1.8
- Sourcehackage.haskell.org/package/threads-0.5.1.8
Modules
2 modules- Control.Concurrent.Thread7Standard threads extended with the ability to wait for their return value. This module exports equivalently named functions from Control.…
- Control.Concurrent.Thread.Group10This module extends Control.Concurrent.Thread with the ability to wait for
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- base-4.20.2.0with GHC
- stm-2.5.3.1with GHC
Used by in this set · 0
Nothing in this set depends on it.