pend

此方法用于阻塞执行调用的线程,直到队列中出现消息为止。阅读器通常等待,直到队列中包含它可以读取的消息为止。

可见性

Public

特征符
virtual void pend() = 0;

反馈