package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.tar.gz
sha256=28f4c68127579b86c5f50e01e444e8c51f0543bc5472c2dcac28993bc88aa756
md5=0317493fa5cc1054a882ceca59ce5992

doc/devkit.core/Devkit_core/Lwt_flag/index.html

Module Devkit_core.Lwt_flagSource

Simple wrapper over Lwt_condition, starts to wait again on condvar right after current wait was finished, to not lose signals. Usable when there is one thread that waits for "flag". "Multiple waiters" semantics is not defined here ( <-> Lwt_condition.broadcast), don't use it.

Sourcetype 'a t
Sourceval create : unit -> 'a t
Sourceval signal : 'a t -> 'a -> unit
Sourceval wait : 'a t -> 'a Lwt.t
OCaml

Innovation. Community. Security.