MCPcopy Create free account
hub / github.com/Kitware/CMake / kwsysProcess_SetTimeout

Function kwsysProcess_SetTimeout

Source/kwsys/ProcessUNIX.c:484–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484void kwsysProcess_SetTimeout(kwsysProcess* cp, double timeout)
485{
486 if (!cp) {
487 return;
488 }
489 cp->Timeout = timeout;
490 if (cp->Timeout < 0) {
491 cp->Timeout = 0;
492 }
493 // Force recomputation of TimeoutTime.
494 cp->TimeoutTime.tv_sec = -1;
495}
496
497int kwsysProcess_SetWorkingDirectory(kwsysProcess* cp, char const* dir)
498{

Callers 1

runChild2Function · 0.70

Calls

no outgoing calls

Tested by 1

runChild2Function · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…