Example #1
0
 public void Work(GoodLocker2 g)
 {
     lock (lock1)
     {
         DoWork(g);
     }
 }
Example #2
0
		public void Work(GoodLocker2 g)
		{
			lock (lock1)
			{
				DoWork(g);
			}
		}
Example #3
0
 private void DoWork(GoodLocker2 g)
 {
     lock (g.lock1)
     {
     }
 }
Example #4
0
		private void DoWork(GoodLocker2 g)
		{
			lock (g.lock1)
			{
			}
		}