LogoopenSUSE Build Service > Projects
Sign Up | Log In

Run IO operations asynchronously and wait for their results

This package provides a higher-level interface over threads, in which an Async a is a concurrent thread that will eventually deliver a value of type a. The package provides ways to create Async computations, wait for their results, and cancel them.

Using Async is safer than using threads in two ways:

When waiting for a thread to return a result, if the thread dies with an exception then the caller must either re-throw the exception (wait) or handle it (waitCatch); the exception cannot be ignored.

The API makes it possible to build a tree of threads that are automatically killed when their parent dies (see withAsync).

Source Files

Filename Size Changed Actions
async-2.2.2.tar.gz 12.6 KB Download File
ghc-async.changes 4.58 KB Download File
ghc-async.spec 2.71 KB Download File

Comments for devel:languages:haskell (1)

repo-checker wrote over 1 year ago

The version of this package in openSUSE:Leap:15.0 has installation issues and may not be installable:

can't install ghc-async-devel-2.1.1.1-lp150.1.4.x86_64:
  package ghc-compiler-8.0.2-lp150.1.10.x86_64 requires gcc, but none of the providers can be installed
  package ghc-async-devel-2.1.1.1-lp150.1.4.x86_64 requires ghc-compiler = 8.0.2, but none of the providers can be installed
  package gcc-7-lp150.1.27.x86_64 requires gcc7, but none of the providers can be installed
  nothing provides libmpfr.so.4()(64bit) needed by gcc7-7.3.0+r257042-lp150.1.3.x86_64

Login required, please login or signup in order to comment