Is it possible to request a code review?

Ali Çehreli acehreli at yahoo.com
Thu Dec 14 07:47:58 UTC 2017


On 12/13/2017 07:57 PM, IM wrote:

 >      - Is this the idiomatic way to define a singleton in D?:
 > 
https://gitlab.com/3d_immortal/libdtasks/blob/master/src/tasks/TaskSystem.d#L24. 

 > I got this from Ali's book.

I think you got it from Adam D. Ruppe's book.

David Simcha's DConf 2013 presentation has Low-Lock Singleton Pattern at 
28 minute mark here:

   https://www.youtube.com/watch?v=yMNMV9JlkcQ&feature=youtu.be&t=1675

Ali



More information about the Digitalmars-d mailing list