If a connection indication arrives when the queue is full, the connection is refused.
如果连接指令到达之时队列已满,连接将被拒绝。
In a bounded blocking queue, the writer thread also needs to wait if the queue is full.
对于有大小限制的阻塞队列,如果队列满了,写线程也需要等待。
If the queue is full, the writer thread waits on the _wcond condition variable; the reader thread will need a notification to all threads after consuming data from the queue.
如果队列满了,写线程等待_ wcond条件变量;读线程在从队列中取出数据之后需要通知所有线程。
应用推荐