1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 14:48:39 +02:00

Fix a comment

This commit is contained in:
Paul Licameli 2020-11-24 12:03:57 -05:00
parent e00f8da5d5
commit 54359fbefd

View File

@ -332,7 +332,7 @@ void DBConnection::CheckpointThread()
sqlite3_wal_checkpoint_v2(
db, nullptr, SQLITE_CHECKPOINT_PASSIVE, nullptr, nullptr);
}
// Contentions for an exclusive lock on the databse are possible,
// Contentions for an exclusive lock on the database are possible,
// even while the main thread is merely drawing the tracks, which
// may perform reads
while (rc == SQLITE_BUSY && (std::this_thread::sleep_for(1ms), true));