Wait for multiple threads
| 47 | |
| 48 | // Wait for multiple threads |
| 49 | void cutWaitForThreads(const CUTThread *threads, int num) { |
| 50 | WaitForMultipleObjects(num, threads, true, INFINITE); |
| 51 | |
| 52 | for (int i = 0; i < num; i++) { |
| 53 | CloseHandle(threads[i]); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | #else |
| 58 | // Create thread |
nothing calls this directly
no test coverage detected