| 296 | |
| 297 | template <typename Thread> |
| 298 | size_t ThreadPoolImpl<Thread>::active() const |
| 299 | { |
| 300 | std::unique_lock lock(mutex); |
| 301 | return scheduled_jobs; |
| 302 | } |
| 303 | |
| 304 | template <typename Thread> |
| 305 | bool ThreadPoolImpl<Thread>::finished() const |
no outgoing calls