Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::FiberJobGroup Struct Reference

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
 
FiberJobGroupoperator= (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
 

Detailed Description

Retains one bounded wave of pooled FiberJob results for aggregate inspection.


The documentation for this struct was generated from the following file: