Re: [FFmpeg-devel] [PATCH v5] vvcdec: add thread executor

2023-08-29 Thread Nuo Mi
On Tue, Aug 29, 2023 at 1:06 AM Michael Niedermayer wrote: > On Tue, Aug 22, 2023 at 09:32:28PM +0800, Nuo Mi wrote: > > The executor design pattern was inroduced by java > > inTroduced > > > > < > https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html > >

Re: [FFmpeg-devel] [PATCH v5] vvcdec: add thread executor

2023-08-28 Thread Michael Niedermayer
On Tue, Aug 22, 2023 at 09:32:28PM +0800, Nuo Mi wrote: > The executor design pattern was inroduced by java inTroduced > > it also adapted by python >

[FFmpeg-devel] [PATCH v5] vvcdec: add thread executor

2023-08-22 Thread Nuo Mi
The executor design pattern was inroduced by java it also adapted by python Compared to handcrafted thread pool management, it greatly simpli