[vlc-devel] [PATCH] VOUT FIX snapshot lock, add new debug msgs

Rémi Denis-Courmont rem at videolan.org
Tue Mar 10 21:14:33 CET 2009

Le mardi 10 mars 2009 19:58:49 basos g, vous avez écrit :
> PS: Another question i have, is vlc_cond_signal using a queue ? I mean
> when i signal 5 times while the encoding thread is not
> vlc_conf_timedwait(ing) yet, is it guaranteed that corresponding
> vlc_cond_timedwait will be signaled 5 times when the right time comes
> ?

A condition variable is a queue... of threads, not of wakeups. The short 
answer is no. The pendantically long answer is 

Rémi Denis-Courmont

More information about the vlc-devel mailing list