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 21da86c commit 352c70eCopy full SHA for 352c70e
src/analyses/threadId.ml
@@ -99,7 +99,7 @@ struct
99
include Printable.Option (ThreadLifted) (struct let name = "nonunique" end)
100
let name () = "thread"
101
let may_race (t1: t) (t2: t) = match t1, t2 with
102
- | Some t1, Some t2 when ThreadLifted.equal t1 t2 -> false
+ | Some t1, Some t2 when ThreadLifted.equal t1 t2 -> false (* only unique threads *)
103
| _, _ -> true
104
let should_print = Option.is_some
105
end
0 commit comments