Lines Matching defs:generation
134 * Each use of the barrier is represented as a generation instance.
135 * The generation changes whenever the barrier is tripped, or
141 * There need not be an active generation if there has been a break
156 /** The current generation */
157 private Generation generation = new Generation();
161 * on each generation. It is reset to parties on each new
162 * generation or when broken.
171 // signal completion of last generation
173 // set up next generation
175 generation = new Generation();
179 * Sets current barrier generation as broken and wakes up everyone.
183 generation.broken = true;
197 final Generation g = generation;
231 if (g == generation && ! g.broken) {
245 if (g != generation)
442 return generation.broken;
461 breakBarrier(); // break the current generation
462 nextGeneration(); // start a new generation