diff --git a/pom.xml b/pom.xml index be67be05..a4189fca 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 de.upb.cs.swt heros - 1.2.3-SNAPSHOT + 1.2.4-SNAPSHOT Heros IFDS/IDE Solver Heros is a generic implementation of an IFDS/IDE Solver that can be plugged into existing, Java-based program analysis frameworks. A reference connector exists for the Soot framework. @@ -114,7 +114,7 @@ org.slf4j slf4j-api - 1.7.5 + 2.0.17 org.hamcrest diff --git a/src/heros/solver/CountLatch.java b/src/heros/solver/CountLatch.java index 20546965..ddff133a 100644 --- a/src/heros/solver/CountLatch.java +++ b/src/heros/solver/CountLatch.java @@ -112,4 +112,12 @@ public boolean isAtZero() { return sync.getCount() == 0; } + /** + * Returns the current count. + * @return The count + */ + public int getCount() { + return sync.getCount(); + } + }