output/Control: add LockEnableDisableAsync()
This commit is contained in:
@@ -360,6 +360,12 @@ public:
|
||||
* Caller must lock the mutex.
|
||||
*/
|
||||
void EnableDisableAsync();
|
||||
|
||||
void LockEnableDisableAsync() {
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
EnableDisableAsync();
|
||||
}
|
||||
|
||||
void LockPauseAsync() noexcept;
|
||||
|
||||
void CloseWait() noexcept;
|
||||
|
||||
Reference in New Issue
Block a user