Module Queries.Protection

Different notions of protection for a global variables g by a mutex m m protects g strongly if:

m protects g weakly if:

type t =
  1. | Strong
  2. | Weak
val compare : t -> t -> Ppx_deriving_runtime.int
val hash : t -> int