[mythtv-commits] Ticket #5421: Incorrect handling of responses from mythlcdserver
MythTV
mythtv at cvs.mythtv.org
Tue Sep 2 14:06:26 UTC 2008
#5421: Incorrect handling of responses from mythlcdserver
-------------------------------+--------------------------------------------
Reporter: dburr at fami.com.au | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: low | Resolution:
Mlocked: 0 |
-------------------------------+--------------------------------------------
Comment(by paulh):
(In [18245]) Fix a couple of problems with the LCD.
1. Don't send any commands to mythlcdserver until we have a response
to 'HELLO'. Refs #5421.
2. Work around a problem with the LCD not always starting up properly.
Refs #5648. Probably also fixes #5613.
The problem seems to be that if the readyread_thread is monitoring only
one socket (the BE isn't running) then it can get into a state where it
never wakes up to process a read. If another socket is added (the BE is
started) or if it is forced to wake up then it starts to behave
properly.
The hack is to Lock() and Unlock() the socket after the first write
which is enough to get the readyready_thread working properly.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5421#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list