diff options
author | wm4 <wm4@nowhere> | 2013-07-28 00:10:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-28 18:56:49 +0200 |
commit | a9a6cf3b6c26eb21bd628c61e53c62fa7e565dbd (patch) | |
tree | c9d7a7cfb18324e9aeb032a7644ed2031ed33ac1 /core | |
parent | 0293eac84adbc34beb5d8d0bc34360d607aac79f (diff) | |
download | mpv-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 'core')
0 files changed, 0 insertions, 0 deletions