MCPcopy Create free account
hub / github.com/DFHack/dfhack / start

Method start

plugins/rendermax/renderer_light.cpp:1459–1467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1457 ((lightThread*)arg)->run();
1458}
1459void lightThreadDispatch::start(int count)
1460{
1461 for(int i=0;i<count;i++)
1462 {
1463 std::unique_ptr<lightThread> nthread(new lightThread(*this));
1464 nthread->myThread=new std::thread(&threadStub,nthread.get());
1465 threadPool.push_back(std::move(nthread));
1466 }
1467}
1468
1469void lightThreadDispatch::waitForWrites()
1470{

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected