예제 #1
0
 private void FixObject(BlastFurnace obj)
 {
     Semaphore.WaitOne();
     obj.Fix(TimeToFix);
     SemCount = Semaphore.Release();
     IsFree?.Invoke(this);
 }
예제 #2
0
 public void DoWork(BlastFurnace target)
 {
     FixObject(target);
 }