| 1037 | } |
| 1038 | |
| 1039 | static void freeBenchmarkThreads() { |
| 1040 | int i = 0; |
| 1041 | for (; i < config.num_threads; i++) { |
| 1042 | benchmarkThread *thread = config.threads[i]; |
| 1043 | if (thread) freeBenchmarkThread(thread); |
| 1044 | } |
| 1045 | zfree(config.threads); |
| 1046 | config.threads = NULL; |
| 1047 | } |
| 1048 | |
| 1049 | static void *execBenchmarkThread(void *ptr) { |
| 1050 | benchmarkThread *thread = (benchmarkThread *) ptr; |
no test coverage detected