Hacker News new | ask | show | jobs
by eliperkins 4898 days ago
Should you call the singleton on multiple threads, there is a chance you could get inconsistent results based on a race condition. Using GCD ensures that the singleton is truly only created once.