-
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 chip-tool run on a single event loop (#7824)
* Make it possible to run chip-tool on a single event loop. * Cleaning up the state lock and conditional vars in the POSIX implementation of PlatformManager in _StopEventLoopTask() was too over-eager - this resulted in complaints from TSAN that it was still being accessed by RunEventLoop() when it finally came out of the runloop due to _StopEventLoopTask() signalling its termination. Fix: Move that clean-up to _Shutdown(), where it arguably should have been in the first place. This is nicely symmetric to its initialization in InitChipTask(). * Fix typo in artifact name * Address review comments Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
6 changed files
with
113 additions
and
48 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