| 216 | } |
| 217 | |
| 218 | void 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 | |
| 227 | void ItemRepositoryRegistry::lockForWriting() |
| 228 | { |
no test coverage detected