| 228 | return SizeLocked(); |
| 229 | } |
| 230 | bool empty() const { |
| 231 | std::lock_guard<LockType> lock(lock_); |
| 232 | return IsEmptyLocked(); |
| 233 | } |
| 234 | |
| 235 | /// Returns if the target is on the queue. This is O(1) and does not acquire any locks. |
| 236 | bool Contains(const T* target) const { |
no outgoing calls