Github user nickwallen commented on a diff in the pull request:
https://github.com/apache/metron/pull/920#discussion_r165654991
--- Diff:
metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/common/shell/cli/PausableInput.java
---
@@ -36,8 +37,8 @@
*
*/
public class PausableInput extends InputStream {
- InputStream in = System.in;
- boolean paused = false;
+ private InputStream in = System.in;
+ private AtomicBoolean paused = new AtomicBoolean(false);
--- End diff --
What problem were you solving here @ottobackwards ? Is this bit access by
multiple threads?
---