[mythtv-commits] mythtv commit: r18246 by paulh

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

      Author: paulh
        Date: 2008-09-02 14:09:29 +0000 (Tue, 02 Sep 2008)
New Revision: 18246
   Changeset: http://cvs.mythtv.org/trac/changeset/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 properly.

   The hack is to Lock() and Unlock() the socket after the first write
   which is enough to get the readyready_thread working properly.

More information about the mythtv-commits mailing list