20#ifndef PALUDIS_GUARD_PALUDIS_UTIL_EXECUTOR_HH
21#define PALUDIS_GUARD_PALUDIS_UTIL_EXECUTOR_HH 1
23#include <paludis/util/executor-fwd.hh>
37 virtual std::string queue_name()
const = 0;
38 virtual std::string unique_id()
const = 0;
39 virtual bool can_run()
const = 0;
41 virtual void pre_execute_exclusive() = 0;
42 virtual void execute_threaded() = 0;
43 virtual void flush_threaded() = 0;
44 virtual void post_execute_exclusive() = 0;
52 void _one(
const std::shared_ptr<Executive>);
55 explicit Executor(
const int ms_update_interval = 1000);
62 void add(
const std::shared_ptr<Executive> & x);
Definition executor.hh:33
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24