MCPcopy Create free account
hub / github.com/MaskRay/ccls / isEmpty

Method isEmpty

src/threaded_queue.hh:118–118  ·  view source on GitHub ↗

Returns true if the queue is empty. This is lock-free.

Source from the content-addressed store, hash-verified

116
117 // Returns true if the queue is empty. This is lock-free.
118 bool isEmpty() { return total_count_ == 0; }
119
120 // Get the first element from the queue. Blocks until one is available.
121 T dequeue(int keep_only_latest = 0) {

Callers 2

hasStateMethod · 0.80
completionMainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected