12#ifndef JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_
13#define JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_
19#if !(defined(__cplusplus) || defined(c_plusplus))
21 "This a C++ only header. Use jxl/jxl_resizable_parallel_runner.h from C" \
37typedef std::unique_ptr<void, JxlResizableParallelRunnerDestroyStruct>
implementation using std::thread of a resizeable JxlParallelRunner.
JXL_THREADS_EXPORT void JxlResizableParallelRunnerDestroy(void *runner_opaque)
JXL_THREADS_EXPORT void * JxlResizableParallelRunnerCreate(const JxlMemoryManager *memory_manager)
std::unique_ptr< void, JxlResizableParallelRunnerDestroyStruct > JxlResizableParallelRunnerPtr
Definition: resizable_parallel_runner_cxx.h:38
Definition: memory_manager.h:48
Definition: resizable_parallel_runner_cxx.h:27
void operator()(void *runner)
Calls JxlResizableParallelRunnerDestroy() on the passed runner.
Definition: resizable_parallel_runner_cxx.h:29