[mythtv-commits] mythtv commit: r18245 by paulh
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Sep 2 14:06:24 UTC 2008
Author: paulh
Date: 2008-09-02 14:06:23 +0000 (Tue, 02 Sep 2008)
New Revision: 18245
Changeset: http://cvs.mythtv.org/trac/changeset/18245
Modified:
trunk/mythtv/libs/libmythdb/lcddevice.cpp
Log:
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.
More information about the mythtv-commits
mailing list