summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-26 22:47:11 +0200
committerwm4 <wm4@nowhere>2015-05-26 22:48:04 +0200
commitbf4dd877e9f1e4508f0031e61c7f40cd612be448 (patch)
tree73196d7bf4d0c6e34e7cc747252d5509a83801c0 /DOCS/man/vo.rst
parent2dd904289dcaf7b11b30ec362288f9af90531879 (diff)
downloadmpv-bf4dd877e9f1e4508f0031e61c7f40cd612be448.tar.bz2
mpv-bf4dd877e9f1e4508f0031e61c7f40cd612be448.tar.xz
osx: synchronize access to the input_ctx
While all functions of input_ctx are inherently thread-safe, access to the _inputContext field itself is not. It could be unset any time by cocoa_set_input_context(). So even trivial input_ctx calls must be under a lock, so that the input_ctx can not be destroyed while the function call is "starting". (Even a function call in progress wouldn't be fine, because mp_input_uninit() requires the caller to "own" the object, i.e. no other threads can access it at this point.)
Diffstat (limited to 'DOCS/man/vo.rst')
0 files changed, 0 insertions, 0 deletions