Relaxed atomics lose memory ordering

Code reviewHard40 minCitadel and Nvidia style

Your task

Review this C++ publish/consume flag pattern.

The atomic is there so it must be fine, right?