载入中...
搜索中...
未找到
CrowdThread.cpp
浏览该文件的文档.
10 return Result<void>::failure(Diagnostic::error(DiagnosticCode::Failed, message, "crowd.scheduler"));
20 // JobSystem's join does not propagate child failure: record exceptions in partition-owned slots.
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
Synchronous scheduler for fixed logical partitions, independent of worker identity....
Definition CrowdWorkScheduler.h:13
Definition CrowdThread.cpp:7
Result< std::shared_ptr< eve::crowd::CrowdWorkScheduler > > makeJobSystemCrowdScheduler(std::weak_ptr< eve::thread::JobSystem > jobs)
Create a synchronous Crowd scheduler observing a genuinely shared JobSystem owner.
Definition CrowdThread.cpp:50
@ Failed