Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dispatch_once()複数のスレッドでの呼び出しかどうかについては疑問があります。説明してください。
dispatch_once()
一度だけ発送されると思います。
ドキュメントを読んでください。
これを疑わせる実際の証拠がある場合は、共有してください。ほとんどの人がシングルトンを作成するために使用します。これは、2回以上実行されることはないためです。