https://github.com/hcarty/mwt
Medium weight threads - preemptive thread pools for Lwt
https://github.com/hcarty/mwt
lwt ocaml threads
Last synced: 2 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 (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T23:50:17.000Z (about 4 years ago)
- Last Synced: 2025-03-23T19:39:14.016Z (3 months ago)
- Topics: lwt, ocaml, threads
- Language: OCaml
- Homepage: https://hcarty.github.io/mwt/mwt/Mwt/index.html
- Size: 43.9 KB
- Stars: 31
- Watchers: 2
- Forks: 3
- 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

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