| 1400 | |
| 1401 | |
| 1402 | void Foam::joinThread(const label index) |
| 1403 | { |
| 1404 | if (POSIX::debug) |
| 1405 | { |
| 1406 | Pout<< "freeThread : join:" << index << endl; |
| 1407 | } |
| 1408 | if (pthread_join(threads_[index](), nullptr)) |
| 1409 | { |
| 1410 | FatalErrorInFunction << "Failed freeing thread " << index |
| 1411 | << exit(FatalError); |
| 1412 | } |
| 1413 | } |
| 1414 | |
| 1415 | |
| 1416 | void Foam::freeThread(const label index) |
no test coverage detected