MCPcopy Create free account
hub / github.com/Snapchat/Valdi / runIndefinitely

Method runIndefinitely

valdi/src/valdi/standalone_runtime/StandaloneMainQueue.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44StandaloneMainQueue::~StandaloneMainQueue() = default;
45
46int StandaloneMainQueue::runIndefinitely() {
47 while (!isDisposed()) {
48 runNextTask(std::chrono::steady_clock::now() + std::chrono::seconds(100000));
49 }
50 return _exitCode;
51}
52
53void StandaloneMainQueue::exit(int exitCode) {
54 _exitCode = exitCode;

Callers 3

runValdiStandaloneFunction · 0.80
valdiLinuxMainFunction · 0.80

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected