org.antlr.misc
public class Barrier extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected int |
threshold |
Constructor and Description |
---|
Barrier(int t) |
Modifier and Type | Method and Description |
---|---|
void |
action()
What to do when everyone reaches barrier
|
void |
waitForRelease() |
Copyright © 2014. All Rights Reserved.