인스턴스를 오직 한개만 제공하는 클래스 스레드에 안전하지 않은 싱글톤 public static Settings getInstance() { if (instance == null) { Thread.Sleep(100); instance = new Settings(); } return instance;..
c# singleton pattern method에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
원문링크 : c# singleton pattern method