]> git.sesse.net Git - vlc/commit
Do NOT destroy the "libvlc"/global/bank/whatever lock variable.
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Mar 2008 14:05:55 +0000 (17:05 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Mar 2008 14:15:09 +0000 (17:15 +0300)
commite4e9182903c4915dd0c1e73eff6b325f0d3be54d
tree244ef38e88bade4ef3bed3fa0cd1e61ad7de040d
parent30267d389073ee38e29728d0246ef5106e9e1f1a
Do NOT destroy the "libvlc"/global/bank/whatever lock variable.

The whole point of a global lock is that it is... global. Destroying it
every time it's released is severe brain damage, as we end up taking a
different lock all the time (or worse destroying the lock while another
threads is competing for it).
src/libvlc-common.c
src/modules/modules.c