Exemple #1
0
        private static void Write4()
        {
            ThreadSafeDoubleCheck safe2 = ThreadSafeDoubleCheck.Instance();

            safe2.WriteMessage("ben ikinci threadim");
        }
Exemple #2
0
        private static void Write3()
        {
            ThreadSafeDoubleCheck safe1 = ThreadSafeDoubleCheck.Instance();

            safe1.WriteMessage("ben birinci threadim");
        }