载入中...
搜索中...
未找到
CrowdWorkScheduler.h
浏览该文件的文档.
25 [[nodiscard]] virtual Result<void> execute(int partitions, const std::function<void(int)>& body) = 0;
Move-only, checked operation results for the common layer.
Synchronous scheduler for fixed logical partitions, independent of worker identity....
Definition CrowdWorkScheduler.h:13
virtual ~CrowdWorkScheduler()=default
Release the adapter after every synchronous dispatch has joined.
virtual Result< void > execute(int partitions, const std::function< void(int)> &body)=0
Execute each partition exactly once, joining every dispatched body on success or failure.
Definition Crowd.cpp:14
CrowdExecution
Explicit execution selection; serial does not require a provider.
Definition CrowdWorkScheduler.h:7
@ Parallel