Home | History | Annotate | Download | only in batching_util

Lines Matching defs:closed

216 //  - The back-most batch is open; the rest are closed.
219 // but the queue isn't full, then that batch is closed and a new open batch is
223 // closed. If the front-most batch is open (i.e. the queue contains only one
224 // batch) and has reached the timeout, it is immediately closed and returned;
257 // returns a batch, the batch is guaranteed to be closed.
267 // Marks the queue closed, and waits until it is empty.
270 bool closed() const {
373 // Wait until the batch threads finish clearing out and deleting the closed
463 // If a closed queue responds to ScheduleBatch() with nullptr, the queue
467 const bool queue_closed = (*next_queue_to_schedule_)->closed();
478 // We've encountered a closed queue with no work to do. Drop it.
604 // There is at least one closed batch that is ready to be scheduled.