Synchronisers: Semaphore

Verifying a semaphore. implemented in Java, that uses an atomic integer internally as synchroniser.

General Information

  • Backend: Chalice
  • Language: Java
  • Features: Atomics, Witnesses, Loop invariants
  • Path to Example File: synchronizers/Semaphore.java
  • Should Verify: Yes
  • Date: 2017-06-21
  • Lines of Code: 99 (comments not included)
  • Lines of Specification: 50 (50.5% of total)
  • Computation Time: 19.2 seconds