-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make queue handling consistent for commands in MTRDevice/MTRClusters. (…
…#23959) invokeCommandWithEndpointID on MTRDevice ran the async work item management logic on the MTRDevice's work queue, and queued an async callback to the client queue for the command response. This was different from what MTRClusters did: that ran the management logic on the client queue as well. This PR aligns on the invokeCommandWithEndpointID behavior, because the MTRClusters behavior allows a poorly-behaved client that blocks inside the completion handler to completely block the device's async callback queue processing.
- Loading branch information
1 parent
00350aa
commit 6a7cc87
Showing
4 changed files
with
944 additions
and
568 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
Oops, something went wrong.