-
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.
[Darwin] MTRDevice should coalesce reads and avoid duplicates (#26999)
* [Darwin] MTRDevice should coalesce reads and avoid duplicates * Properly hook up the duplicate check, and add logging * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.h Co-authored-by: Boris Zbarsky <[email protected]> * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.h Co-authored-by: Boris Zbarsky <[email protected]> * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.h Co-authored-by: Boris Zbarsky <[email protected]> * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.h Co-authored-by: Boris Zbarsky <[email protected]> * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.h Co-authored-by: Boris Zbarsky <[email protected]> * Moved MTRAsyncCallbackQueueTests additional queuing into readyHandler to avoid potential race * Moved batching logging for clarity * Address the last review comments * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue.mm Co-authored-by: Boris Zbarsky <[email protected]> * Addressed review commends and updated logic to handle writes/commands * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue_Internal.h Co-authored-by: Boris Zbarsky <[email protected]> * Update src/darwin/Framework/CHIP/MTRAsyncCallbackWorkQueue_Internal.h Co-authored-by: Boris Zbarsky <[email protected]> * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Moved comment doc to better position --------- Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
1 parent
83ecf9c
commit 5711d2f
Showing
6 changed files
with
516 additions
and
29 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.