summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-07-12 11:24:27 +0100
committerSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-07-12 11:24:27 +0100
commit7aa6fcf6f8947faa67e095c8decff779673de17f (patch)
tree8fc0d628e1ef6d957c64d710598727acdd9ee855 /po
parent198fa979f89ba74743a301816d38b46a73770856 (diff)
downloadxine-lib-7aa6fcf6f8947faa67e095c8decff779673de17f.tar.gz
xine-lib-7aa6fcf6f8947faa67e095c8decff779673de17f.tar.bz2
Simplify input_rtp locking
We have seen input_rtp lock up in use, and traced the problem to the separate tail/head locks on the input buffer. Reduce to a single lock, increasing lock contention between the reader and the writer, but removing the previous deadlock risk. Also use select() before recv(), to ensure that we never wait forever for packets (e.g. if we're trying to receive a multicast stream, but an administrator has blocked all multicast packets to the device - iptables -A INPUT --dst 224.0.0.0/4 -j DROP induces this failure for testing).
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions