Пример #1
0
func ProducerFunc(rb *rb.RingBuffer, index, size int) {
	for i := 0; i < size; i++ {
		rb.Write(i)
	}

}