[vlc-devel] [PATCH] HLS: minor fix

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Jun 25 19:20:19 CEST 2012


On Mon, Jun 25, 2012 at 8:18 PM, Chris Smowton <cs448 at cam.ac.uk> wrote:
>
>> I know I am a bit idealist here, but I think the current HLS
>> implementation would take more time to make thread safe than to
>> rewrite.
>
> You mean you think you should just rewrite from the ground up? If so I
> disagree! I think I could rewrite it to use one big lock and sparse
> communication quickly, keeping the code almost all the same but with vastly
> simplified synchronisation. I'll have a go at putting a patch together
> (against current Git) next weekend if you're interested?
>
> C

I don't really like the idea of a big lock (of death ©), but it feels
safer than the current implementation...

If somebody else has an opinion, please shoot!

-- 
Hugo Beauzée-Luyssen
mail: hugo at beauzee.fr
skype: beauze.h



More information about the vlc-devel mailing list