summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-28 00:10:47 +0200
committerwm4 <wm4@nowhere>2013-07-28 18:56:49 +0200
commita9a6cf3b6c26eb21bd628c61e53c62fa7e565dbd (patch)
treec9d7a7cfb18324e9aeb032a7644ed2031ed33ac1 /video/mp_image_pool.h
parent0293eac84adbc34beb5d8d0bc34360d607aac79f (diff)
downloadmpv-a9a6cf3b6c26eb21bd628c61e53c62fa7e565dbd.tar.bz2
mpv-a9a6cf3b6c26eb21bd628c61e53c62fa7e565dbd.tar.xz
mp_image: make reference counting thread-safe
This hasn't been done yet, because pthreads is still an optional dependency, so this is a bit annoying. Now doing it anyway, because maybe we will need this capability in the future. We keep it as simple as possible. We (probably) don't need anything more sophisticated, and keeping it simple avoids introducing weird bugs. So, no atomic instructions, no fine grained locks, no cleverness.
Diffstat (limited to 'video/mp_image_pool.h')
0 files changed, 0 insertions, 0 deletions