15#ifndef JXL_THREAD_PARALLEL_RUNNER_CXX_H_
16#define JXL_THREAD_PARALLEL_RUNNER_CXX_H_
22#if !(defined(__cplusplus) || defined(c_plusplus))
24 "This a C++ only header. Use jxl/jxl_thread_parallel_runner.h from C" \
40typedef std::unique_ptr<void, JxlThreadParallelRunnerDestroyStruct>
std::unique_ptr< void, JxlThreadParallelRunnerDestroyStruct > JxlThreadParallelRunnerPtr
Definition: thread_parallel_runner_cxx.h:41
JXL_THREADS_EXPORT void * JxlThreadParallelRunnerCreate(const JxlMemoryManager *memory_manager, size_t num_worker_threads)
JXL_THREADS_EXPORT void JxlThreadParallelRunnerDestroy(void *runner_opaque)
Definition: memory_manager.h:51
Definition: thread_parallel_runner_cxx.h:30
void operator()(void *runner)
Calls JxlThreadParallelRunnerDestroy() on the passed runner.
Definition: thread_parallel_runner_cxx.h:32
implementation using std::thread of a JxlParallelRunner.