On Wed, Jul 12, 2017 at 8:44 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > Rework it to improve performance. Now mutex is not shared by workers, > instead each worker has its own mutex and condition variable. This > reduces lock contention between workers. Also use atomic variable for > counter. > > The interface also allows execute to run special function on main > thread, requested by Ronald. > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > libavutil/Makefile | 1 + > libavutil/slicethread.c | 259 > ++++++++++++++++++++++++++++++++++++++++++++++++ > libavutil/slicethread.h | 52 ++++++++++ > 3 files changed, 312 insertions(+) > create mode 100644 libavutil/slicethread.c > create mode 100644 libavutil/slicethread.h >
I'm going to push the patchset tomorrow. Thank's _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel