summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-13 14:40:17 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-08-13 23:02:16 +0200
commit36586dd7b7ad0a9145ab28f0245a7f00227a7ce8 (patch)
tree56a6325afe86043758d560bca2b9e58e84ac021c /osdep/macosx_events.h
parent87ce0c3b8d4e7b668412315774e7ded84c4f8ad7 (diff)
downloadmpv-36586dd7b7ad0a9145ab28f0245a7f00227a7ce8.tar.bz2
mpv-36586dd7b7ad0a9145ab28f0245a7f00227a7ce8.tar.xz
input: make input queue thread safe
If pthreads are enabled the input queue accesses are regulated by acquiring a mutex. This is useful for platforms like OS X, where the events are created in the cocoa thread and added to the queue to then be dequeued in the playloop thread.
Diffstat (limited to 'osdep/macosx_events.h')
0 files changed, 0 insertions, 0 deletions