[vlc-devel] [PATCH] input: reduce the number of locks for every MainLoop cycle

Steve Lhomme robux4 at gmail.com
Fri Dec 11 12:36:40 CET 2015


On Fri, Dec 11, 2015 at 12:13 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-12-11 13:04, Steve Lhomme a écrit :
>>
>> replaces https://patches.videolan.org/patch/11689/
>
>
> I don't see the point. We need the control lock to change the value anyway.

input_Stopped() is called in a few loops without the lock, especially
in MainLoop. Isn't a lock/unlock expensive operation ?

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list