[vdr] vdr-xine: what's wrong with this piece of code -- threadingissue?

Reinhard Nissl rnissl at gmx.de
Fri Mar 25 17:05:41 CET 2005


Rantanen Teemu wrote:

> Anyway, in the xine-network version it was possible to get into deadlock
> depending on which part of code was running as the connection to xine
> was broken. I fixed it with this patch:
> 	http://tvr.dy.fi/xine-0.7.2-network-DeadLockFix.diff
> I could assume the same deadlock happens with FIFOs also unless read()=0
> is handled.

This fix addresses the same lines of code, that show the problem in the 
FIFO case. At the moment it looks like it's xine that closes the FIFOs 
and that's why the read returns 0.

This typically happens when moving cutting marks, and I'm investigating 
this already.

> What do you think about integrating network -patch into xine-plugin?

Expect it for 0.8.0, but the next release will still be 0.7.3.

Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de

More information about the vdr mailing list