diff options
author | Nuo Mi <nuomi2021@gmail.com> | 2023-08-29 20:59:03 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-09-02 02:49:06 +0200 |
commit | 25ecc94d58f8e80137a1243d31b2b98bdeda5039 (patch) | |
tree | fbd9ad98033ee9a4611bbe1b5b5ea7aded71dcd2 /libavformat/rawenc.h | |
parent | 139e54911c8356729e5cfad4283da9abb90b53e0 (diff) | |
download | ffmpeg-25ecc94d58f8e80137a1243d31b2b98bdeda5039.tar.gz |
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>
Diffstat (limited to 'libavformat/rawenc.h')
0 files changed, 0 insertions, 0 deletions