MCPcopy Create free account
hub / github.com/KDE/kdevelop / run

Method run

kdevplatform/language/duchain/duchain.cpp:347–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346private:
347 void run() override
348 {
349 QTimer timer;
350 connect(&timer, &QTimer::timeout, &timer, [this]() {
351 Q_ASSERT(QThread::currentThread() == this);
352 //Just to make sure the cache is cleared periodically
353 ModificationRevisionSet::clearCache();
354
355 m_data->doMoreCleanup(SOFT_CLEANUP_STEPS, TryLock);
356 });
357 timer.start(cleanupEverySeconds * 1000);
358 exec();
359 }
360 DUChainPrivate* m_data;
361 };
362

Callers

nothing calls this directly

Calls 2

doMoreCleanupMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected