diff options
author | wm4 <wm4@nowhere> | 2015-05-26 22:47:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-26 22:48:04 +0200 |
commit | bf4dd877e9f1e4508f0031e61c7f40cd612be448 (patch) | |
tree | 73196d7bf4d0c6e34e7cc747252d5509a83801c0 /osdep/mpv.exe.manifest | |
parent | 2dd904289dcaf7b11b30ec362288f9af90531879 (diff) | |
download | mpv-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 'osdep/mpv.exe.manifest')
0 files changed, 0 insertions, 0 deletions