[vlc-devel] [vlc-commits] addons: add missing b_live flag locking (fix #10718)

Rémi Denis-Courmont remi at remlab.net
Wed Feb 19 21:31:49 CET 2014


Le mercredi 19 février 2014, 17:45:17 Francois Cartegnie a écrit :
> +    vlc_mutex_lock( & p_manager->p_priv->finder.lock );
>      p_manager->p_priv->finder.b_live = false;
> +    vlc_mutex_unlock( & p_manager->p_priv->finder.lock );

With the next commit this is block is useless . A joinable thread can be 
"cancelled" even if it already exited. This is a no-op.


-- 
Реми Денис-Курмон
http://www.remlab.net/




More information about the vlc-devel mailing list