It usually has an API with methods like push and pop .
它通常有一个API,其中包括push和pop等方法。
Based on this idea, let's look at the concept of a concurrent queue where push and pop operations come with timeouts.
根据这个概念,我们来看看如何给并发队列的添加和取出操作增加超时限制。
Arrays respond to push and pop, where push adds an item (at its last spot) and pop removes one (like a stack, from the last position).
Arrays支持push和pop操作,其中push增加项目(在其最后一个位置)而pop移除项目(就像堆栈,从最后一个开始)。
应用推荐