Closed larsacus closed 12 years ago
Investigate the use of dispatch_once as a thread-safe way to instantiate a singleton. Why would this be better than what I've done already?
It's not hard to do, so it's not a big deal: http://stackoverflow.com/questions/2199106/thread-safe-instantiation-of-a-singleton
Adding singleton reference: http://www.cocoadev.com/index.pl?SingletonDesignPattern
Investigate the use of dispatch_once as a thread-safe way to instantiate a singleton. Why would this be better than what I've done already?
It's not hard to do, so it's not a big deal: http://stackoverflow.com/questions/2199106/thread-safe-instantiation-of-a-singleton