avutil: add thread executor
The executor design pattern was introduced by java <https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html> it also adapted by python <https://docs.python.org/3/library/concurrent.futures.html> Compared to handcrafted thread pool management, it greatly simplifies the thread code. Signed-off-by:Michael Niedermayer <michael@niedermayer.cc>
Showing
libavutil/executor.c
0 → 100644
libavutil/executor.h
0 → 100644
Please register or sign in to comment