示例#1
0
 public ProducerThread(QueueSynchronization <Element> qc)
     : base()
 {
     this.QueueCommon = qc;
     this.doing       = true;
     this.QueueStop   = new QueueSynchronization <Stopper>();
 }
示例#2
0
        public ManagerThread(int _CountConsumerThread, int _timeWork)
        {
            this.QueueCommon = new QueueSynchronization <Element>();

            this.CountConsumerThread = _CountConsumerThread;

            this.CountConsumerThread = _timeWork;
        }
示例#3
0
 public ConsumerThread(QueueSynchronization <Element> qc)
     : base()
 {
     this.QueueCommon = qc;
     this.doing       = true;
 }