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