Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdr-1.3.17: thread issues with vdr-xine and vdr-osdteletext



Reinhard Nissl wrote:
Hi,

C.Y.M wrote:

Attached you'll find a suggested fix. It works for me here.

It works for me too! Thank you so much. I have applied this patch to the latest thread.[ch] and streamdev works like a charm again. :)

Excellent work.

Well, there are still some issues left:
1.) what happens if StartThread() get's never called?
    Deadlock at childTidChanged.Wait().
In what situation would StartThread() not be called?

2.) what happens if StartThread() returns before the Wait() is reached?
    Deadlock at childTidChanged.Wait().
Isnt that what the mutex is for?


So some error checking and an additional variable for indicating whether StartThread() returned already will be necessary and maybe a TimedWait(), too.

Bye.




Home | Main Index | Thread Index