Searched refs:guard1 (Results 1 – 1 of 1) sorted by relevance
258 final AtomicBoolean guard1 = new AtomicBoolean(); in main() local263 while (!guard1.get()); // busy-waiting in main()271 while (!guard1.weakCompareAndSet(false, true)); // relaxed memory order in main()