16 #ifndef JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_ 17 #define JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_ 23 #if !(defined(__cplusplus) || defined(c_plusplus)) 25 "This a C++ only header. Use jxl/jxl_resizable_parallel_runner.h from C" \ 41 typedef std::unique_ptr<void, JxlResizableParallelRunnerDestroyStruct>
62 #endif // JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_ std::unique_ptr< void, JxlResizableParallelRunnerDestroyStruct > JxlResizableParallelRunnerPtr
Definition: resizable_parallel_runner_cxx.h:42
JXL_THREADS_EXPORT void JxlResizableParallelRunnerDestroy(void *runner_opaque)
Definition: resizable_parallel_runner_cxx.h:31
JXL_THREADS_EXPORT void * JxlResizableParallelRunnerCreate(const JxlMemoryManager *memory_manager)
Definition: memory_manager.h:51
void operator()(void *runner)
Calls JxlResizableParallelRunnerDestroy() on the passed runner.
Definition: resizable_parallel_runner_cxx.h:33
implementation using std::thread of a resizeable JxlParallelRunner.