On Friday, 31 January 2014 at 11:45:56 UTC, Andrej Mitrovic wrote:
On 1/31/14, Dejan Lekic <dejan.le...@gmail.com> wrote:
SingletonLazy.

SingletonLazy isn't thread-safe. :)

I made it thread-safe, and guess what - I ended up with SyncSingleton-like solution! So SyncSingleton is a clean winner if you want to make it lazy.

Reply via email to