[vlc-devel] [PATCH v2] wayland: xdg-shell: use vlc_cond_t instead of dispatch

Rémi Denis-Courmont remi at remlab.net
Sat Apr 11 09:40:39 CEST 2020


Le tiistaina 7. huhtikuuta 2020, 13.02.14 EEST Alexandre Janniaux a écrit :
> Hi,
> 
> Won't a semaphore be as ugly to write as enable() can be
> called multiple time and configure_cb() too, and lead to
> a different behaviour?

I don't know what you are implying here.

Enable is not supposed to happen without an intervening Disable to my 
understanding. And if it did, then a condition variable would fail worse than 
a semaphore AFAICT.

-- 
Rémi Denis-Courmont
Ville neuve de Tapiola, République d´Uusimaa





More information about the vlc-devel mailing list