Back to list
Views:   3.7K
Replies:  0
Archived

Patterns in Action - SingletonLogger

I was assuming the Singleton logger should have thread synchronization in place for a real world application. However I do not find the lock on the Singleton instance.

Was it missed out purposefully or is it just a mistake? If it was left out on purpose, I would like to understand the reason for not having a lock.

Please provide appropriate information so that I can have clear understanding about this.
Sreenivas Manyam Rajaram, Jun 24, 2011


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2