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" \ 40 typedef std::unique_ptr<void, JxlThreadParallelRunnerDestroyStruct>
62 #endif // JXL_THREAD_PARALLEL_RUNNER_CXX_H_ Definition: thread_parallel_runner_cxx.h:30
implementation using std::thread of a JxlParallelRunner.
std::unique_ptr< void, JxlThreadParallelRunnerDestroyStruct > JxlThreadParallelRunnerPtr
Definition: thread_parallel_runner_cxx.h:41
JXL_THREADS_EXPORT void JxlThreadParallelRunnerDestroy(void *runner_opaque)
Definition: memory_manager.h:51
JXL_THREADS_EXPORT void * JxlThreadParallelRunnerCreate(const JxlMemoryManager *memory_manager, size_t num_worker_threads)
void operator()(void *runner)
Calls JxlThreadParallelRunnerDestroy() on the passed runner.
Definition: thread_parallel_runner_cxx.h:32