]> git.sesse.net Git - vlc/commit
Podcast: thread safety fixes
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 7 Sep 2008 11:06:14 +0000 (14:06 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 7 Sep 2008 11:06:14 +0000 (14:06 +0300)
commit20ad5a20371bd4b028c2fd8d6ae9a928878e5d06
treead907ef6c667a0b0b60fdc06a17729e910265ffd
parent28092982d6ddf47461484664e2ff3fe6eef46faa
Podcast: thread safety fixes

Variables callback can be (and usually are) invoked from other threads.
They cannot access the object without locking, and must be unregistered
before the object is destroyed (var_DelCallback() -> free(p_sys)).
modules/services_discovery/podcast.c