Checks if the queue is empty If the combining is in process the function waits while combining done. */
| 297 | If the combining is in process the function waits while combining done. |
| 298 | */ |
| 299 | bool empty() const |
| 300 | { |
| 301 | bool bRet = false; |
| 302 | auto const& queue = m_Queue; |
| 303 | m_FlatCombining.invoke_exclusive( [&queue, &bRet]() { bRet = queue.empty(); } ); |
| 304 | return bRet; |
| 305 | } |
| 306 | |
| 307 | /// Internal statistics |
| 308 | stat const& statistics() const |
nothing calls this directly
no test coverage detected