package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.clib/Memprof_coq/Thread_map/index.html

Module Memprof_coq.Thread_mapSource

An async-safe, scoped thread-local store

Sourcetype 'a t
Sourceval create : unit -> 'a t

Create an empty map

Sourceval with_value : 'a t -> value:'a -> scope:(unit -> 'b) -> 'b

Associate ~value to the current thread for the duration of a scope. It can be nested: the previous association is restored on exit.

Sourceval get : 'a t -> 'a option

Get the value currently associated with the current thread.

OCaml

Innovation. Community. Security.