diff options
| author | Enrico Tassi | 2016-06-14 10:51:00 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2016-06-14 10:51:00 +0200 |
| commit | ff67a511a358ada3daefea0839e18d474531e13d (patch) | |
| tree | b5dfb7b8d79394d1aabbe0d125d30e12a0fbf621 /lib/stateid.ml | |
| parent | 19330a458b907b5e66a967adbfe572d92194913c (diff) | |
| parent | 1334a657052a2385c3f3b01cc65c3ccae448fa96 (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.ml | 8 |
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; |
