diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-04-13 00:17:30 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-04-13 00:17:30 +0200 |
commit | 0638ad373d88c3ed45273a505df56626daba19a0 (patch) | |
tree | 5df24fd7d6686f057a3fa90f486cae6ddd27a350 /lib | |
parent | b4304f243c6006eec3ca4b4ce2b19cfca703861a (diff) | |
download | xine-lib-0638ad373d88c3ed45273a505df56626daba19a0.tar.gz xine-lib-0638ad373d88c3ed45273a505df56626daba19a0.tar.bz2 |
Provide ability to lock port rewiring.
The idea is to allow only a "single" frontend to rewire ports at
a certain point in time. Regarding a stream, frontend_lock is used
for example to allow only a single frontend to change the speed.
Unfortunately, frontend_lock cannot be used as the rewire functions
are not stream related.
Therefore a new port_rewiring_lock was introduced and used at
appropriate locations. When an arbitrary thread now holds the
frontend_lock and the port_rewiring_lock, it is safe that acquiring
a port ticket in functions like xine_get_current_frame() will
never block the thread.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions