httpd: use a condition variable instead of msleep, and fix a small race
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 14 Jan 2009 20:07:31 +0000 (22:07 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 14 Jan 2009 20:21:23 +0000 (22:21 +0200)
commit3c7d7fa8da0cbbdfc1be3d01c06f22d232528703
tree5c926481605b0d1648fad1977af127f9935a1b5e
parente9cbd35ba6d5f229bfae9c1c1f0b9559214703a7
httpd: use a condition variable instead of msleep, and fix a small race

host->i_url was read without protection. We also now use the reference
count as the "death" variable, rather than vlc_object_alive() which
simplifies locking.
src/network/httpd.c