MCPcopy Create free account
hub / github.com/apache/impala / ~BlockingQueue

Method ~BlockingQueue

be/src/kudu/util/blocking_queue.h:70–73  ·  view source on GitHub ↗

If the queue holds a bare pointer, it must be empty on destruction, since it may have ownership of the pointer.

Source from the content-addressed store, hash-verified

68 // If the queue holds a bare pointer, it must be empty on destruction, since
69 // it may have ownership of the pointer.
70 ~BlockingQueue() {
71 DCHECK(queue_.empty() || !std::is_pointer<T>::value)
72 << "BlockingQueue holds bare pointers at destruction time";
73 }
74
75 // Gets an element from the queue; if the queue is empty, blocks until the
76 // queue becomes non-empty, or until the deadline passes.

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected