]> git.sesse.net Git - vlc/commit
Win32: emulate static mutexes with a boolean (fix: #2399)
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 13:54:54 +0000 (15:54 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 13:54:54 +0000 (15:54 +0200)
commitc72c34ea5c92d07f9aac4a86b5840cff213ad57b
tree0decb85f3e8d1d6ebb0454e453aa6af8e2ca05a7
parente46128239c6db45415f2f372db7d165b9a8ec40c
Win32: emulate static mutexes with a boolean (fix: #2399)

We use the same pattern as the variable callback lock: one mutex,
one condition variable and N boolean flags instead of N mutexes.
This is a bit slower but it shouldn't leak OS handles anymore.
include/vlc_threads.h
src/misc/w32thread.c