Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hcarty/mwt
- Owner: hcarty
- License: mit
- Created: 2016-06-24T20:58:04.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T23:50:17.000Z (over 3 years ago)
- Last Synced: 2023-03-12T05:03:09.018Z (almost 2 years ago)
- Topics: lwt, ocaml, threads
- Language: OCaml
- Homepage: https://hcarty.github.io/mwt/mwt/Mwt/index.html
- Size: 43.9 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
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.