MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / empty

Function empty

benchmarks/tbb/concurrent_priority_queue.h:203–203  ·  view source on GitHub ↗

Returns true if empty, false otherwise Returned value may not reflect results of pending operations. This operation reads shared data and will trigger a race condition. */

Source from the content-addressed store, hash-verified

201 /** Returned value may not reflect results of pending operations.
202 This operation reads shared data and will trigger a race condition. */
203 bool empty() const { return size()==0; }
204
205 //! Returns the current number of elements contained in the queue
206 /** Returned value may not reflect results of pending operations.

Callers

nothing calls this directly

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected