cfuture: A Future type that is interruptible anytime and exportable to C/C++.

[ bsd3, concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

A module similar to the "future" package of Chris Kuklewicz, but having a Future that is interruptible anytime, and easy to represent and handle in C/C++.

It uses two threads, the first of which kills the calculation if triggered by filling an MVar, and the second of which calculating the result and writing it into another MVar. However, the library can be used without manipulating the MVars directly.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0, 2.0
Change log CHANGELOG.md
Dependencies base (>=4.17.2 && <5), base-prelude (>=1.4 && <1.7) [details]
License BSD-3-Clause
Author Viktor Csimma
Maintainer csimmaviktor03@gmail.com
Uploaded by csimma at 2026-03-19T11:53:42Z
Category Concurrency
Source repo head: git clone https://github.com/viktorcsimma/cfuture.git
Distributions
Downloads 27 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-03-19 [all 1 reports]