package picos_std
Sample libraries for Picos
This package contains sample scheduler agnostic libraries for Picos. Many of the modules are intentionally designed to mimic modules from the OCaml Stdlib.
Picos_std_finallySyntax for avoiding resource leaks forPicos.Picos_std_eventBasic event abstraction forPicos.Picos_std_structuredBasic structured concurrency primitives forPicos.Picos_std_syncBasic communication and synchronization primitives forPicos.
These libraries are both meant to serve as examples of what can be done and to also provide practical means for programming with fibers. Hopefully there will be many more libraries implemented in Picos like these providing different approaches, patterns, and idioms for structuring concurrent programs.