Skip to content

Commit

Permalink
Comment out atomic mutex protecting everything again
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jan 11, 2024
1 parent 92eac6d commit 696a35f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analyses/mutexAnalysis.ml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ struct
let mutex_lockset = Lockset.export_locks @@ Lockset.singleton (mutex, true) in
let protecting = protecting ~write protection v in
(* TODO: unsound in 29/24, why did we do this before? *)
if LockDomain.Addr.equal mutex (LockDomain.Addr.of_var LF.verifier_atomic_var) then
(* if LockDomain.Addr.equal mutex (LockDomain.Addr.of_var LF.verifier_atomic_var) then
true
else
else *)
Mutexes.leq mutex_lockset protecting
| Queries.MustLockset ->
let held_locks = Lockset.export_locks (Lockset.filter snd ls) in
Expand Down

0 comments on commit 696a35f

Please sign in to comment.