Two threads that concurrently attempt to increase the values `p.x` and `p.y`, respectively, of an object `p` of type Point. The shared state can be splitted into two: one thread having writing permission to `p.x` and the other thread to `p.y`.
Path to example file
Lines of code
47 lines (comments not included)
Lines of specification
5 lines (10.64% of the total)
Note, verification may take a while and has a time-out of 20 seconds.