Lines Matching refs:queue
8 queue with values of type ``T``. Multiple threads may simultaneously
9 push and pop elements from the queue. The queue is unbounded and has no
12 std::queue. The operation ``try_pop`` pops an item if it is available.
23 extern std::queue<T> MySerialQueue;
32 Even if each std::queue method were implemented in a thread-safe manner,
35 queue. For example, ``MySerialQueue.empty()`` might return true just
52 In a single-threaded program, a queue is a first-in first-out structure.
62 or to wait for the queue to become non-empty. Typically this is
75 queue's capacity.
79 queue's capacity.
90 producers to know how many consumers are waiting on the queue. Method
97 the queue capacity with method ``set_capacity``.Setting the capacity
98 causes ``push`` to block until there is room in the queue. Bounded
100 elsewhere in your program that prevents the queue from becoming too