cpp/atomic/atomic wait

Performs atomic waiting operations. Behaves as if it repeatedly performs the following steps:


 * Compare the value representation of or  with that of.
 * If those are bitwise equal, then blocks until is notified by std or std, or the thread is unblocked spuriously.
 * Otherwise, returns.

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

@1@ Equivalent to.

@2@ Equivalent to.

Return value
(none)