Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove potential deadlock on MythSystem IO threads.
This performs finer grained locking against the file descriptor type map in the IO handling mechanisms for MythSystem. If the read thread wakes up and has data to process at the exact moment the external thread is handing off a newly started child to the manager for handling, the two may hit fdLock and MythSystemIOHandler::m_pLock from opposite directions, deadlocking both threads. Fixes #11066 Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 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