In single-threaded code, that’s fine. But the moment you have multiple threads incrementing the same counter, weird things start happening. Your final count will almost never match what you expected.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する