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

Method empty

benchmarks/tbb/task_stream.h:136–138  ·  view source on GitHub ↗

Checks existence of a task.

Source from the content-addressed store, hash-verified

134
135 //! Checks existence of a task.
136 bool empty() {
137 return !population;
138 }
139
140 //! Destroys all remaining tasks in every lane. Returns the number of destroyed tasks.
141 /** Tasks are not executed, because it would potentially create more tasks at a late stage.

Callers 1

popMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected