[mythtv-commits] Ticket #5648: mythlcdserver problem when frontend starts

MythTV mythtv at cvs.mythtv.org
Tue Sep 2 14:09:30 UTC 2008

#5648: mythlcdserver problem when frontend starts
 Reporter:  anonymous  |        Owner:  ijr       
     Type:  defect     |       Status:  closed    
 Priority:  minor      |    Milestone:  unknown   
Component:  mythtv     |      Version:  0.21-fixes
 Severity:  medium     |   Resolution:  fixed     
  Mlocked:  0          |  
Changes (by paulh):

  * status:  new => closed
  * resolution:  => fixed


 (In [18246]) Merge [18245] from trunk.

 Fix a couple of problems with the LCD.

 1. Don't send any commands to mythlcdserver until we have a response
    to 'HELLO'. Fixes #5421.

 2. Work around a problem with the LCD not always starting up properly.
    Fixes #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

    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/5648#comment:2>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list