MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / isAlive

Method isAlive

Vanity.cpp:1584–1593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1582// ----------------------------------------------------------------------------
1583
1584bool VanitySearch::isAlive(TH_PARAM *p) {
1585
1586 bool isAlive = true;
1587 int total = nbCPUThread + nbGPUThread;
1588 for(int i=0;i<total;i++)
1589 isAlive = isAlive && p[i].isRunning;
1590
1591 return isAlive;
1592
1593}
1594
1595// ----------------------------------------------------------------------------
1596

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected