logoalt Hacker News

bmm6otoday at 5:46 PM0 repliesview on HN

There are documented ways to ensure that changes are visible across threads (e.g. locks). If these are not used, the compiler is within its rights to not go out of its way to pull changes from another thread.