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

Method testLockForReadWrite

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

Source from the content-addressed store, hash-verified

775}
776
777void TestDUChain::testLockForReadWrite()
778{
779 ThreadList threads;
780 for (int i = 0; i < 10; ++i) {
781 threads << TestWorker::createWorkerThread(SLOT(lockForReadWrite()));
782 }
783
784 threads.start();
785 QBENCHMARK {
786 DUChainWriteLocker lock;
787 }
788 threads.join();
789}
790
791void TestDUChain::testProblemSerialization()
792{

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected