Single cell

An atomic integer is used to protect a data field of SingleCell. Multiple threads trying to assign or find the value of the field. This verification example is very related to the "simple hash table" example.

General Information

  • Backend: Chalice
  • Language: Java
  • Features: Atomics, Witnesses
  • Path to Example File: atomics/
  • Should Verify: Yes
  • Date: 2017-06-15
  • Lines of Code: 116 (comments not included)
  • Lines of Specification: 34 (29.3% of total)
  • Computation Time: 19.4 seconds