Make fields that may be accessed by external threads (not processor threads) volatile.