BoundedProducerConsumer.LBB.put C# (CSharp) Метод

put() публичный Метод

public put ( string s ) : void
s string
Результат void
        public void put(string s)
        {
            lock (this) {
            while (q.Count == capacity) { Monitor.Wait(this); };
            q.Enqueue(s);
            Monitor.PulseAll(this);
              }
        }