15#ifndef JXL_THREAD_PARALLEL_RUNNER_CXX_H_
16#define JXL_THREAD_PARALLEL_RUNNER_CXX_H_
24#if !(defined(__cplusplus) || defined(c_plusplus))
26 "This a C++ only header. Use jxl/jxl_thread_parallel_runner.h from C" \
42typedef std::unique_ptr<void, JxlThreadParallelRunnerDestroyStruct>
std::unique_ptr< void, JxlThreadParallelRunnerDestroyStruct > JxlThreadParallelRunnerPtr
Definition thread_parallel_runner_cxx.h:43
JXL_THREADS_EXPORT void * JxlThreadParallelRunnerCreate(const JxlMemoryManager *memory_manager, size_t num_worker_threads)
JXL_THREADS_EXPORT void JxlThreadParallelRunnerDestroy(void *runner_opaque)
Abstraction functions used by JPEG XL to allocate memory.
Definition memory_manager.h:51
Definition thread_parallel_runner_cxx.h:32
void operator()(void *runner)
Calls JxlThreadParallelRunnerDestroy() on the passed runner.
Definition thread_parallel_runner_cxx.h:34
implementation using std::thread of a JxlParallelRunner.