Dolmen_loop.Alarmmodule type S = sig ... endThe module signature that implements everything needed to use alarms for time and sizes.
type t = (module S)An alarm system is a packed module.
val dummy : tDummy implementation. Does nothing.
val linux : tLinux alarms. Uses Gc alarm for size limits, and Unix timers for time limits. Fairly accurate and reliable.
val windows : tWindows alarms. Uses Gc alarm for size limits as well as time limits. The time limit is not enforced very precisely/reliably because of the use of Gc alarms.
val default : tA default alarm, chosen based on `Sys.os_type`. Can be either
nux
}
or windows, and falls back on dummy for unknown os (e.g. js_of_ocaml).