12#ifndef JXL_THREAD_PARALLEL_RUNNER_CXX_H_
13#define JXL_THREAD_PARALLEL_RUNNER_CXX_H_
19#if !(defined(__cplusplus) || defined(c_plusplus))
21 "This a C++ only header. Use jxl/jxl_thread_parallel_runner.h from C" \
37typedef std::unique_ptr<void, JxlThreadParallelRunnerDestroyStruct>
Definition: memory_manager.h:48
Definition: thread_parallel_runner_cxx.h:27
void operator()(void *runner)
Calls JxlThreadParallelRunnerDestroy() on the passed runner.
Definition: thread_parallel_runner_cxx.h:29
implementation using std::thread of a JxlParallelRunner.
JXL_THREADS_EXPORT void * JxlThreadParallelRunnerCreate(const JxlMemoryManager *memory_manager, size_t num_worker_threads)
JXL_THREADS_EXPORT void JxlThreadParallelRunnerDestroy(void *runner_opaque)
std::unique_ptr< void, JxlThreadParallelRunnerDestroyStruct > JxlThreadParallelRunnerPtr
Definition: thread_parallel_runner_cxx.h:38