cpp/atomic/atomic flag/test

Atomically reads the value of the and returns the value.

Return value
The value atomically read.