Lwt: a cooperative thread library. We present a cooperative thread library for Objective Caml. The library is entirely written in Objective Caml and does not rely on any external C function. Programs involving threads are written in a monadic style. This makes it possible to write threaded code almost as regular ML code, even though it has a different semantics. Cooperative threads are especially well suited for concurrent network applications, where threads perform little computation and spend most of their time waiting for input or output, at which time other threads can run. This library has been successfully used in the Unison file synchronizer and the Ocsigen Web server.
Keywords for this software
References in zbMATH (referenced in 4 articles )
Showing results 1 to 4 of 4.
- Radanne, Gabriel; Vouillon, Jérôme; Balat, Vincent: \textscEliom: a core ML language for tierless web programming (2016)
- Sivaramakrishnan, K. C.; Harris, Tim; Marlow, Simon; Peyton Jones, Simon: Composable scheduler activations for Haskell (2016)
- Yallop, Jeremy; Sheets, David; Madhavapeddy, Anil: Declarative foreign function binding through generic programming (2016)
- Kerneis, Gabriel; Chroboczek, Juliusz: Continuation-passing C, compiling threads to events through continuations (2011)