diff options
author | wm4 <wm4@nowhere> | 2018-05-17 21:20:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | a253c72dbb0fedf3b83f2f20f1f311c40551a6b1 (patch) | |
tree | ab6f4b51fad6380ae9c983db9d45f0a9e5bb451b /stream/stream_bluray.c | |
parent | 782e4282841fae59d60b16ddfc00bb45cf40771e (diff) | |
download | mpv-a253c72dbb0fedf3b83f2f20f1f311c40551a6b1.tar.bz2 mpv-a253c72dbb0fedf3b83f2f20f1f311c40551a6b1.tar.xz |
thread_tools: unify mp_cancel POSIX/win32 paths, add features
The OS specifics are merged because the resulting ifdeffery is not much
worse than the old ifdeffery, but the logic that is now shared is
becoming more complex.
Create all objects lazily. The intention is to make mp_cancel instances
cheaper. POSIX pipes and win32 Events are pretty heavy weight, and are
only needed in special situations.
Add a mechanism to "chain" mp_cancel instances. Needed by the later
commits for whatever reasons.
Untested on win32.
Diffstat (limited to 'stream/stream_bluray.c')
0 files changed, 0 insertions, 0 deletions