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

Method lockForWriting

kdevplatform/serialization/itemrepositoryregistry.cpp:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void ItemRepositoryRegistryPrivate::lockForWriting()
219{
220 QMutexLocker lock(&m_mutex);
221 //Create is_writing
222 QFile f(m_path + QLatin1String("/is_writing"));
223 f.open(QIODevice::WriteOnly);
224 f.close();
225}
226
227void ItemRepositoryRegistry::lockForWriting()
228{

Callers 2

doMoreCleanupMethod · 0.80
shutdownMethod · 0.80

Calls 2

openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected