Add required synchronization to achieve atomic updates visibility
between potential concurrent modifying and reading threads