Fork/join updates

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`.

General Information

  • Backend: Chalice
  • Language: PVL
  • Features: Fork/join concurrency
  • Path to Example File: forkjoin/update-point.pvl
  • Should Verify: Yes
  • Date: 2017-06-16
  • Lines of Code: 47 (comments not included)
  • Lines of Specification: 5 (10.6% of total)
  • Computation Time: 7.6 seconds