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

Method join

kdevplatform/language/duchain/tests/test_duchain.cpp:721–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719{
720public:
721 void join()
722 {
723 // quit all event loops
724 for (const auto& thread : std::as_const(*this)) {
725 QVERIFY(thread->isRunning());
726 thread->quit();
727 }
728
729 // join all threads
730 constexpr auto timeout = 3'000L;
731 for (const auto& thread : std::as_const(*this)) {
732 QVERIFY(thread->wait(timeout));
733 QVERIFY(thread->isFinished());
734 }
735 }
736 void start()
737 {
738 for (const QSharedPointer<QThread>& thread : std::as_const(*this)) {

Callers 15

OpenProjectDialogMethod · 0.80
adjustPluginPageAdapterFunction · 0.80
loadPluginInternalMethod · 0.80
deleteStyleMethod · 0.80
updateMessageMethod · 0.80
printMethod · 0.80
viewWalkerModesMethod · 0.80
toolViewWalkerModesMethod · 0.80
updateJobNameMethod · 0.80
toStringMethod · 0.80
toStringMethod · 0.80

Calls 3

quitMethod · 0.80
waitMethod · 0.80
isRunningMethod · 0.45

Tested by

no test coverage detected