aboutsummaryrefslogtreecommitdiff
path: root/lib/stateid.ml
diff options
context:
space:
mode:
authorEnrico Tassi2016-06-14 10:51:00 +0200
committerEnrico Tassi2016-06-14 10:51:00 +0200
commitff67a511a358ada3daefea0839e18d474531e13d (patch)
treeb5dfb7b8d79394d1aabbe0d125d30e12a0fbf621 /lib/stateid.ml
parent19330a458b907b5e66a967adbfe572d92194913c (diff)
parent1334a657052a2385c3f3b01cc65c3ccae448fa96 (diff)
Merge remote-tracking branch 'origin/pr/173' into trunk
This is the "error resiliency" mode for STM
Diffstat (limited to 'lib/stateid.ml')
-rw-r--r--lib/stateid.ml8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/stateid.ml b/lib/stateid.ml
index c17df2b321..500581a39e 100644
--- a/lib/stateid.ml
+++ b/lib/stateid.ml
@@ -29,7 +29,13 @@ let get exn = Exninfo.get exn state_id_info
let equal = Int.equal
let compare = Int.compare
-module Set = Set.Make(struct type t = int let compare = compare end)
+module Self = struct
+ type t = int
+ let compare = compare
+ let equal = equal
+end
+
+module Set = Set.Make(Self)
type ('a,'b) request = {
exn_info : t * t;