name: threads version: 0.5.1.1 cabal-version: >= 1.9.2 build-type: Custom stability: experimental author: Bas van Dijk Roel van Dijk maintainer: Bas van Dijk Roel van Dijk copyright: 2010–2012 Bas van Dijk & Roel van Dijk license: BSD3 license-file: LICENSE homepage: https://github.com/basvandijk/threads bug-reports: https://github.com/basvandijk/threads/issues category: Concurrency synopsis: Fork threads and wait for their result 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@. extra-source-files: README.markdown source-repository head Type: git Location: git://github.com/basvandijk/threads.git ------------------------------------------------------------------------------- library build-depends: base >= 4.4 && < 4.8 , base-unicode-symbols >= 0.1.1 && < 0.3 , stm >= 2.1 && < 2.5 exposed-modules: Control.Concurrent.Thread , Control.Concurrent.Thread.Group other-modules: Control.Concurrent.Raw ghc-options: -Wall ------------------------------------------------------------------------------- test-suite test-threads type: exitcode-stdio-1.0 hs-source-dirs: test main-is: test.hs ghc-options: -Wall -threaded build-depends: threads , base >= 4.4 && < 4.8 , base-unicode-symbols >= 0.1.1 && < 0.3 , stm >= 2.1 && < 2.5 , concurrent-extra >= 0.5.1 && < 0.8 , HUnit >= 1.2.2 && < 1.3 , test-framework >= 0.2.4 && < 0.9 , test-framework-hunit >= 0.2.4 && < 0.4