devel/hs-async - The NetBSD Packages Collection

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).

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 devel/hs-hashable lang/ghc98 devel/hs-hashable

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-async-2.2.5nb1.tgz
NetBSD 10.0aarch64hs-async-2.2.5nb1.tgz
NetBSD 10.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 10.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 10.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 9.0aarch64hs-async-2.2.5nb1.tgz
NetBSD 9.0aarch64hs-async-2.2.5nb1.tgz
NetBSD 9.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 9.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 9.0x86_64hs-async-2.2.5nb1.tgz
NetBSD 9.3x86_64hs-async-2.2.5nb1.tgz
NetBSD 9.3x86_64hs-async-2.2.5nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.