| 155 | } |
| 156 | |
| 157 | static void thread_init(unsigned int max_threads, unsigned int thread_verbose) |
| 158 | { |
| 159 | if (max_threads > 1) { |
| 160 | std::cout << "Multi-threading mode using " << max_threads << " threads\n"; |
| 161 | } else { |
| 162 | std::cout << "Non Multi-threading mode\n"; |
| 163 | } |
| 164 | |
| 165 | ThreadPoolManager::init(max_threads, thread_verbose); |
| 166 | } |
| 167 | |
| 168 | int main(int argc, char *argv[]) |
| 169 | { |