If the producer tries to decrement emptyCount when its value is zero, the producer is put to sleep.
如果在生产者尝试减少 emptyCount 的时候发现其值为零，那么生产者就进入休眠。