[mythtv] DVB problems revision 7062.

Daniel Kristjansson danielk at cuymedia.net
Thu Aug 18 18:44:54 UTC 2005


On Thu, 2005-08-18 at 19:27 +0100, John Pullan wrote:
> Just updated and it all seems to be working again :)

Heh, maybe all those problems were caused by that one race condition
messing up the pid lists.

There was a TODO comment in the dvbrecorder saying that mutexes were
needed... I don't exactly how the writer of that comment thought things
should be locked, but I put a read/write lock around anything that
changes the pid lists, and a read lock in part the recorder loop
that depends on these lists. Implemented with two QMutexes rather than
one of the less portable pthread rw locks.

-- Daniel



More information about the mythtv-dev mailing list