| 82 | // ---------------------------------------------------------------------------------------- |
| 83 | |
| 84 | unsigned long thread_pool_implementation:: |
| 85 | num_threads_in_pool ( |
| 86 | ) const |
| 87 | { |
| 88 | auto_mutex M(m); |
| 89 | return tasks.size(); |
| 90 | } |
| 91 | |
| 92 | // ---------------------------------------------------------------------------------------- |
| 93 |