summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorsesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-06 10:13:37 +0000
committersesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-06 10:13:37 +0000
commitb951d42e4eba1e4edbbb5fe11f6ebdd04c891b23 (patch)
tree48863124ec94740cb6182091dab86189a4a3bf86 /libmpcodecs
parent8e19e877610819b5be4092fd4ce9b4183b1bfd4b (diff)
downloadmpv-b951d42e4eba1e4edbbb5fe11f6ebdd04c891b23.tar.bz2
mpv-b951d42e4eba1e4edbbb5fe11f6ebdd04c891b23.tar.xz
Implement Win32 mutexes.
Implement Win32 mutexes; they used to just be mapped on top of events, which is not the same thing at all. The implementation is pretty much the obvious one, similar to the current critical section implementation and the semaphore implementation; a single lock count protected by a pthread mutex, and an event lockers can sleep on to know when the mutex is available. Also make CreateMutexA and ReleaseMutex available even if QuickTime codecs support is not configured. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30853 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
0 files changed, 0 insertions, 0 deletions