https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106772

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Mkkt Bkkt from comment #12)
> First of, I was a toxic, sorry.
> But you start this first, maybe it's allowed for maintainer, I don't know.

No, you started it with sarcasm and disparaging remarks in comment 4, and
continued the aggression in comment 5.

Your example demonstrates a state machine where the only possible values of the
atomic are known (e.g. a locked state and unlocked state). That is not the only
way to use atomics. If you have an atomic counter and want to signal when it
has been incremented, you cannot tell from the previous value whether another
thread is waiting.

Reply via email to