7#ifndef BOTAN_WORK_EXECUTOR_H_
8#define BOTAN_WORK_EXECUTOR_H_
10#include <botan/types.h>
80 static void set_global(std::shared_ptr<Work_Executor> executor);
#define BOTAN_PUBLIC_API(maj, min)
Work_Executor & operator=(Work_Executor &&)=delete
Work_Executor(Work_Executor &&)=delete
virtual size_t max_concurrency() const =0
static void set_global(std::shared_ptr< Work_Executor > executor)
virtual ~Work_Executor()=default
virtual void queue_work(std::function< void()> work)=0
Work_Executor & operator=(const Work_Executor &)=delete
Work_Executor(const Work_Executor &)=delete