Consider the code below:
// Class member initialization: std::atomic ready = false; ... // Core A: while (!ready.load(std::memory_order_acquire)