On Fri, Jul 7, 2017 at 4:26 PM, Clément Bœsch <u...@pkh.me> wrote: > On Fri, Jul 07, 2017 at 09:25:46AM +0700, Muhammad Faiz wrote: >> Avoid pthread_cond_broadcast that wakes up all workers. Make each of them >> uses distict mutex/cond. >> > > Please make sure this doesn't make tsan go crazy.
Fixed. Post new patch. > > Also, the code is pretty much based on lavc/pthread_slice.c, so you may > want to keep differences low by applying your changes in lavc as well. I'm > sure people will be happy if libavcodec gets faster. I'm currently looking at it. > > Interesting benchmarks btw :) > > -- > Clément B. > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel