mpv/DOCS/man/en
wm4 236577af09 cache: use threads instead of fork()
Basically rewrite all the code supporting the cache (i.e. anything other
than the ringbuffer logic). The underlying design is untouched.

Note that the old cache2.c (on which this code is based) already had a
threading implementation. This was mostly unused on Linux, and had some
problems, such as using shared volatile variables for communication and
uninterruptible timeouts, instead of using locks for synchronization.

This commit does use proper locking, while still retaining the way the
old cache worked. It's basically a big refactor.

Simplify the code too. Since we don't need to copy stream ctrl args
anymore (we're always guaranteed a shared address space now), lots of
annoying code just goes away. Likewise, we don't need to care about
sector sizes. The cache uses the high-level stream API to read from
other streams, and sector sizes are handled transparently.
2013-06-16 22:05:09 +02:00
..
af.rst
ao.rst ao_jack: add (no-)connect suboption 2013-06-04 01:31:20 +02:00
changes.rst command: replace some show_ commands with properties 2013-06-07 18:00:34 +02:00
encode.rst
input.rst manpage: improve documentation of property expansion 2013-06-08 18:09:58 +02:00
mpv.rst
options.rst cache: use threads instead of fork() 2013-06-16 22:05:09 +02:00
vf.rst manpage: mark some filters as deprecated in favor of libavfilter 2013-05-26 17:31:21 +02:00
vo.rst manpage: fix typo 2013-05-27 23:41:37 +02:00