@hackage threads0.1.0.1
Fork threads and wait for their result
Categories
License
BSD-3-Clause
Maintainer
Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Links
Versions
Installation
CustomDependencies (4)
- base >=3 && <4.3
- base-unicode-symbols >=0.1.1 && <0.3
- concurrent-extra >=0.5.1 && <0.6
- stm >=2.1 && <2.2 Show all…
Dependents (11)
@hackage/wrecker, @hackage/threads-extras, @hackage/snap-server, @hackage/io-throttle, @hackage/happstack-server, @hackage/lifted-threads, Show all…
Package Flags
test
(off by default)
Build the testing suite
hpc
(off by default)
Enable program coverage on test executable
nolib
(off by default)
Don't build the library
This package provides functions to fork threads and wait for their termination. The result of a thread can also be retrieved, 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: http://hackage.haskell.org/package/threadmanager. 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.