Skip to content

Commit 352c70e

Browse files
committed
Add comment about threadid analysis access may_race
1 parent 21da86c commit 352c70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/threadId.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct
9999
include Printable.Option (ThreadLifted) (struct let name = "nonunique" end)
100100
let name () = "thread"
101101
let may_race (t1: t) (t2: t) = match t1, t2 with
102-
| Some t1, Some t2 when ThreadLifted.equal t1 t2 -> false
102+
| Some t1, Some t2 when ThreadLifted.equal t1 t2 -> false (* only unique threads *)
103103
| _, _ -> true
104104
let should_print = Option.is_some
105105
end

0 commit comments

Comments
 (0)