33 #include "core/GpgFrontendCore.h"
34 #include "core/function/basic/GpgFunctionObject.h"
35 #include "core/thread/TaskRunner.h"
39 using TaskRunnerPtr = std::shared_ptr<TaskRunner>;
45 kTaskRunnerType_Default,
48 kTaskRunnerType_Network,
49 kTaskRunnerType_Module,
50 kTaskRunnerType_External_Process,
56 auto GetTaskRunner(TaskRunnerType runner_type = kTaskRunnerType_Default)
59 void StopAllTeakRunner();
62 std::map<TaskRunnerType, TaskRunnerPtr> task_runners_;
63 std::mutex task_runners_map_lock_;
Definition: GpgFunctionObject.h:58
static auto GetDefaultChannel() -> int
Get the Default Channel object.
Definition: GpgFunctionObject.h:131
Definition: TaskRunnerGetter.h:42
Definition: ModuleManager.h:39