diff options
author | Nuo Mi <[email protected]> | 2023-08-29 20:59:03 +0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2023-09-02 02:49:06 +0200 |
commit | 25ecc94d58f8e80137a1243d31b2b98bdeda5039 (patch) | |
tree | fbd9ad98033ee9a4611bbe1b5b5ea7aded71dcd2 /libavutil/tests/pixelutils.c | |
parent | 139e54911c8356729e5cfad4283da9abb90b53e0 (diff) |
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 <[email protected]>
Diffstat (limited to 'libavutil/tests/pixelutils.c')
0 files changed, 0 insertions, 0 deletions