-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure exclusive access to radios per editorset
A ChirpLiveEditorSet represents a conversation with a single radio endpoint, but may involve multiple independent event streams. We really don't need multiple threads and queues for talking to a single radio, however radios with multiple sub-devices will end up with different Radio classes by nature. So, instead of collapsing editors into a single thread, we can just make them share a lock, established at the EditorSet level, which is what this patch does. This also means the other drivers (that I know of) that do their own locking (kenwood_live, kenwood_d7, because settings) and ic9x (because multiple sub-devices) can simplify and rely on this being handled in the UI. Related to #10683
- Loading branch information
Showing
6 changed files
with
51 additions
and
39 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
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
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