Searched refs:turn (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/test/demo/jvmti/
H A DContext.java39 /* Used to sync up turns and keep track of who's turn it is */
51 private static TurnChecker turn = new TurnChecker(-1); field in class:Context
84 /* Get all threads running (they will block until we set turn) */
98 synchronized (turn) {
99 turn.thread_index = 0;
100 turn.notifyAll();
110 synchronized (turn) {
154 synchronized (turn) {
155 /* Keep waiting for our turn */
156 while (turn
[all...]

Completed in 36 milliseconds