Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix concurrency issue when adding/removing ports of latent plugins
This fixes an issue when changing port-configuration or toggle strict-i/o of latent multi-out plugins. `Session::auto_connect_thread_run` can run concurrently while ports are added/removed from the GUI thread. The latter invalidates IO::_port PortSet, while the former thread iterates over ports. This also changes the IO-Mutex into a RWLock to allow concurrent access when possible.
- Loading branch information
Showing
2 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters