mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-29 14:48:39 +02:00
Fix a comment
This commit is contained in:
parent
e00f8da5d5
commit
54359fbefd
@ -332,7 +332,7 @@ void DBConnection::CheckpointThread()
|
|||||||
sqlite3_wal_checkpoint_v2(
|
sqlite3_wal_checkpoint_v2(
|
||||||
db, nullptr, SQLITE_CHECKPOINT_PASSIVE, nullptr, nullptr);
|
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
|
// even while the main thread is merely drawing the tracks, which
|
||||||
// may perform reads
|
// may perform reads
|
||||||
while (rc == SQLITE_BUSY && (std::this_thread::sleep_for(1ms), true));
|
while (rc == SQLITE_BUSY && (std::this_thread::sleep_for(1ms), true));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user