module Netsys_global:sig..end
This module provides a place to store global variables that work
across subprocess boundaries. In order to push values to related processes
it needs a propagator. The propagator is not included here. The
Netplex library implements a propagator that is automatically activated.
Variables are limited to string type.
type variable
val access : string -> variableaccess name: Create or look up a variable with this nameval get : variable -> stringval set : variable -> string -> unitval get_v : variable -> string * int64val set_v : variable -> string -> int64val iter : (string -> string -> int64 -> unit) -> unititer f: for every variable call f name value versionclass type propagator =object..end
val get_propagator : unit -> propagator optionNoneval set_propagator : propagator option -> unitSome p, or remove the propagator with
None