[vlc-devel] [vlc-commits] addons: fix threading and cancelable sections

Rémi Denis-Courmont remi at remlab.net
Thu Feb 20 20:04:43 CET 2014


Le jeudi 20 février 2014, 19:49:02 Steinar H. Gunderson a écrit :
>   WaitFor( &mutex, &condvar, MyLittlePredicate, NULL );
> 
> Much harder to get wrong for the user.

How do you convince developers to use the would-be vlc_wait_for() macro 
instead of vlc_cond_wait()? Removing the latter is not really an option.

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




More information about the vlc-devel mailing list