]> git.sesse.net Git - vlc/commit
Android: do not use semaphores from vlc_testcancel()
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 14 Nov 2012 16:26:54 +0000 (18:26 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 14 Nov 2012 16:26:54 +0000 (18:26 +0200)
commit2b51a84f34d6ad36e8f8b6998f1aaa29bd91c0b4
treeabb6a8d94d254d2d7686822101aae2dd5b6c3878
parent1a5ea5894dac3480272bd4f4650124f1b0a0d954
Android: do not use semaphores from vlc_testcancel()

Taking any lock in vlc_testcancel() is prone to deadlock since it gets
called from vlc_cond_(timed)wait() with the mutex held.

Not using semaphores at all would probably be saner here though.
src/android/thread.c