MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / joinThread

Function joinThread

src/OSspecific/POSIX/POSIX.C:1402–1413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400
1401
1402void 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
1416void Foam::freeThread(const label index)

Callers 1

OFstreamCollator.CFile · 0.85

Calls 1

exitFunction · 0.50

Tested by

no test coverage detected