Commit 78a89b31 authored by Dan Frumin's avatar Dan Frumin

Binary operations are atomic

parent 671be1fc
......@@ -419,6 +419,7 @@ Module lang.
| Load e => is_Some (to_val e)
| Store e1 e2 => is_Some (to_val e1) is_Some (to_val e2)
| CAS e0 e1 e2 => is_Some (to_val e0) is_Some (to_val e1) is_Some (to_val e2)
| BinOp _ e1 e2 => is_Some (to_val e1) is_Some (to_val e2)
| Fork _ => True
| _ => False
end.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment