mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Comments about CloseLock() functions
This commit is contained in:
@@ -122,7 +122,8 @@ class PROFILE_DLL_API BlockFile /* not final, abstract */ {
|
||||
void SilenceLog() const { mSilentLog = TRUE; }
|
||||
|
||||
///when the project closes, it locks the blockfiles.
|
||||
///Override this in case it needs special treatment
|
||||
///Override this in case it needs special treatment.
|
||||
// not balanced by unlocking calls.
|
||||
virtual void CloseLock(){Lock();}
|
||||
|
||||
/// Prevents a read on other threads. The basic blockfile runs on only one thread, so does nothing.
|
||||
|
||||
Reference in New Issue
Block a user