[mythtv] patch: dvb: thread race condition

Isaac Richards ijr at po.cwru.edu
Sun Aug 15 11:30:06 EDT 2004


On Sunday 15 August 2004 02:53 am, Mark Spieth wrote:
> hi, another segfault dvb fix.
> the dvbsection thread runs multiple instances which is bad of course since
> the flag is not set until the thread starts running whereas it is started
> again in change channel. wonder how many other instances of this coding
> style exist. will find out eventually. patch attached. stops segfaults from
> happening on live tv exit.

Exists in most of the DVB code, probably - most of those classes starts up a 
thread with no proper cleanup.  I'll get your patch committed today sometime.

Isaac


More information about the mythtv-dev mailing list