cpp/atomic/atomic flag wait

Performs atomic waiting operations.

Compares or  with, and if they are equal then blocks until  is notified by std or std (or the thread is unblocked spuriously). This is repeated until the values compare unequal.

@1@ Equivalent to.

@2@ Equivalent to.

These functions are guaranteed to return only if value has changed, even if underlying implementation unblocks spuriously.

Return value
(none)