Retains one bounded wave of pooled FiberJob results for aggregate inspection. More...
#include <Fibers.h>
Public Member Functions | |
| FiberJobGroup (FiberJobScheduler &scheduler) | |
| FiberJobGroup (const FiberJobGroup &)=delete | |
| FiberJobGroup & | operator= (const FiberJobGroup &)=delete |
| Result | spawn (FiberJobPool &pool, FiberJob::Procedure procedure, FiberJob **outJob=nullptr) |
| Result | spawn (FiberJobPool &pool, FiberJob::Procedure procedure, FiberCancellationToken token, FiberJob **outJob=nullptr) |
| Result | run () |
| Result | requestCancel () |
| Result | reset () |
| size_t | pendingCount () const |
| size_t | jobCount () const |
| size_t | countErrors () const |
| Result | collectErrors (Span< FiberJobGroupError > errors, size_t &outErrors) const |
Friends | |
| struct | FiberJobScheduler |
Retains one bounded wave of pooled FiberJob results for aggregate inspection.