package memprof-limits

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A flag that can be set atomically, and never unset.

All the functions below are thread-safe.

type t
val create : unit -> t

Create a token, initially not set.

val set : t -> unit

Set a token.

val is_set : t -> bool

Returns whether set has been called at least once on a given token.

OCaml

Innovation. Community. Security.