Checks if the priority queue is empty If the combining is in process the function waits while combining done. */
| 262 | If the combining is in process the function waits while combining done. |
| 263 | */ |
| 264 | bool empty() |
| 265 | { |
| 266 | bool bRet = false; |
| 267 | auto const& pq = m_PQueue; |
| 268 | m_FlatCombining.invoke_exclusive( [&pq, &bRet]() { bRet = pq.empty(); } ); |
| 269 | return bRet; |
| 270 | } |
| 271 | |
| 272 | /// Internal statistics |
| 273 | stat const& statistics() const |
nothing calls this directly
no test coverage detected