Returns true if the scan range queue is empty.
| 68 | |
| 69 | /// Returns true if the scan range queue is empty. |
| 70 | bool Empty() { |
| 71 | std::lock_guard<std::mutex> lock(scan_range_queue_lock_); |
| 72 | return high_prio_scan_ranges_.empty() && scan_range_queue_.Empty(); |
| 73 | } |
| 74 | |
| 75 | /// Reserves capacity for the queue. This doesn't affect the queue of the high prio |
| 76 | /// items. |
no test coverage detected