| 226 | |
| 227 | template <typename TaskType> |
| 228 | bool Batch<TaskType>::empty() const { |
| 229 | { |
| 230 | mutex_lock l(mu_); |
| 231 | return tasks_.empty(); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | template <typename TaskType> |
| 236 | const TaskType& Batch<TaskType>::task(int i) const { |
no outgoing calls