@@ -257,7 +265,7 @@ b = 42; // read after write: a has an old value
For data dependence, use the Bernstein's conditions: *"the intersection between read-write set, write-read set and write-write set of instructions is null"*.
:::{.fragment}
```c
```c++
c = a + b; // S1
d = a - b; // S2
```
...
...
@@ -302,7 +310,7 @@ S1 and S2 can be executed in parallel!