]> git.sesse.net Git - vlc/commit
playlist: Use PL_ASSERT_LOCKED where the playlist lock should be held.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 10:59:27 +0000 (12:59 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 11:21:35 +0000 (13:21 +0200)
commit3af47f42e2ac5cfd6ab35bee5320788270a10a29
treec4151e3a2cb6e221e247fd6075d86b7a1525f7bc
parent7b6ad1735535ad12338cb2739f5065a829ac5469
playlist: Use PL_ASSERT_LOCKED where the playlist lock should be held.

Note, this commit may create some assert in previously working code. That does mean that this code wasn't properly working, and that it lacks a PL_LOCK. I prefer nice assert() over races.
src/playlist/search.c
src/playlist/tree.c