We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509281b commit f0375d2Copy full SHA for f0375d2
src/tracedAtomic.ml
@@ -231,7 +231,8 @@ let rec explore depth func state clock last_access =
231
let j = proc.proc_id in
232
let i = Option.bind proc.obj_ptr (fun ptr -> IntMap.find_opt ptr last_access) |> Option.value ~default:0 in
233
let last_hb_p = IntMap.find_opt j clock |> Option.value ~default:0 in
234
- if i != 0 && i < last_hb_p then begin
+ Printf.printf "Checking proc: %d, i: %d, last_hb_p: %d\n" j i last_hb_p;
235
+ if i != 0 && i > last_hb_p then begin
236
let pre_s = List.nth state (i-1) in
237
if IntSet.mem j pre_s.enabled then
238
pre_s.backtrack <- IntSet.add j pre_s.backtrack
0 commit comments