Please sign in to comment.
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 <firstname.lastname@example.org>
- Loading branch information...
Showing with 8 additions and 4 deletions.