Concurrent.MakeHashtbl
a thread safe hashtable
module Hash = H
val create : int -> 'a t
val clear : 'a t -> unit
val length : 'a t -> int
val with_hashtable : ('a Hash.t -> 'b) -> 'a t -> 'b
Execute the given function on the underlying hashtable in a critical section
val wrap_hashtable : 'a Hash.t -> 'a t
Put a hashtable into a thread-safe wrapper; original hashtable must not be directly accessed.