Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hcarty/mwt

Medium weight threads - preemptive thread pools for Lwt
https://github.com/hcarty/mwt

lwt ocaml threads

Last synced: 3 months ago
JSON representation

Medium weight threads - preemptive thread pools for Lwt

Awesome Lists containing this project

README

        

# Mwt - Preemptive threads and thread pools for Lwt

![CI checks](https://github.com/hcarty/mwt/workflows/CI%20checks/badge.svg)

`Mwt` allows a Lwt promise to hand off tasks to OCaml's preemptive threads.

`Mwt` is similar to `Lwt_preemptive`, but with user-managed pools of stateful
threads. Each thread in a pool has a local state which persists for the life
of the thread.