albatross/src/vmm_ring.mli

10 lines
247 B
OCaml
Raw Normal View History

2018-10-23 23:10:35 +00:00
(* (c) 2018 Hannes Mehnert, all rights reserved *)
type 'a t
2018-10-23 23:10:35 +00:00
val create : ?size:int -> 'a -> unit -> 'a t
2018-10-23 23:10:35 +00:00
val write : 'a t -> Ptime.t * 'a -> unit
val read : 'a t -> (Ptime.t * 'a) list
val read_history : 'a t -> Ptime.t -> (Ptime.t * 'a) list