if ( singleton == null )
   {
   singleton = new Something();
   // further initialisation code ...
   }