1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Comments about CloseLock() functions

This commit is contained in:
Paul Licameli
2016-04-11 23:38:33 -04:00
parent cfaf3564a2
commit f7780adbf5
6 changed files with 16 additions and 6 deletions

View File

@@ -127,7 +127,9 @@ class ODPCMAliasBlockFile final : public PCMAliasBlockFile
void SetFileName(wxFileName &name) override;
wxFileName GetFileName() const override;
//when the file closes, it locks the blockfiles, but it calls this so we can check if it has been saved before.
//when the file closes, it locks the blockfiles, but only conditionally.
// It calls this so we can check if it has been saved before.
// not balanced by unlocking calls.
void CloseLock() override;
/// Prevents a read on other threads.