summaryrefslogtreecommitdiffstats
path: root/misc/thread_pool.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-06 13:32:50 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commita0308d31697c5dd601ee036acbc937c361746cc3 (patch)
treed3205ff2c5cd61f532c4829a9c981dc37d18014d /misc/thread_pool.c
parent22c002138d8b82a021564ddab447fafd90852e75 (diff)
downloadmpv-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 'misc/thread_pool.c')
0 files changed, 0 insertions, 0 deletions