[vlc-devel] [PATCH] input: reduce the number of locks for every MainLoop cycle
remi at remlab.net
Mon Dec 14 11:57:22 CET 2015
Le 2015-12-11 13:36, Steve Lhomme a écrit :
> 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
> input_Stopped() is called in a few loops without the lock, especially
> in MainLoop. Isn't a lock/unlock expensive operation ?
On the fast path, it should be an atomic operation.
More information about the vlc-devel