Commit a137e3fe authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Broadcast when the object is killed

So there are no deadlocks if multiple threads are waiting on the same
object (although that's not a very brilliant idea).
parent 3746dbdc
......@@ -539,7 +539,7 @@ void __vlc_object_kill( vlc_object_t *p_this )
close_nocancel (fd);
}
vlc_object_signal_unlocked( p_this );
vlc_cond_broadcast (&priv->wait);
/* This also serves as a memory barrier toward vlc_object_alive(): */
vlc_object_unlock( p_this );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment