Exercise: find data races

Exercise

 

Solution