Module threads

Module threads 

Source
Expand description

libjxl_threads: Parallel processing support for JPEG XL.

Modulesยง

parallel_runner
API for running data operations in parallel in a multi-threaded environment. This module allows the JPEG XL caller to define their own way of creating and assigning threads.
resizable_parallel_runner
This file is part of jpegxl-sys.
thread_parallel_runner
Implementation using std::thread of a JxlParallelRunner. Implementation of JxlParallelRunner that can be used to enable multithreading when using the JPEG XL library. This uses std::thread internally and related synchronization functions. The number of threads created is fixed at construction time and the threads are re-used for every ThreadParallelRunner::Runner call. Only one concurrent JxlThreadParallelRunner call per instance is allowed at a time.