예제 #1
0
        public void Dispose()
        {
            Interlocked.Decrement(ref isContinue);
            threadProcessing.Execute();
            threadProcessing.Dispose();

            producer.Dispose();
        }
 public void Dispose()
 {
     Interlocked.Decrement(ref isContinue);
     consumer.Dispose();
     threadProcessing.Dispose();
 }