diff options
author | wm4 <wm4@nowhere> | 2018-05-06 13:32:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | a0308d31697c5dd601ee036acbc937c361746cc3 (patch) | |
tree | d3205ff2c5cd61f532c4829a9c981dc37d18014d /input | |
parent | 22c002138d8b82a021564ddab447fafd90852e75 (diff) | |
download | mpv-a0308d31697c5dd601ee036acbc937c361746cc3.tar.bz2 mpv-a0308d31697c5dd601ee036acbc937c361746cc3.tar.xz |
client: merge can_terminate() function
This has some tricky interactions. In particular, it requires the core
to be locked due to reading outstanding_async, which is documented on
the only caller only. It's probably better to merge it with its only
caller.
The new code should be strictly equivalent, other than the fact that it
doesn't temporarily unlock+lock when entering the loop for the first
time (which doesn't matter here).
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions