Fixed-capacity owner of reusable FiberJob records with explicit completed-result release. More...
#include <Fibers.h>
Public Member Functions | |
| FiberJobPool (const FiberJobPool &)=delete | |
| FiberJobPool & | operator= (const FiberJobPool &)=delete |
| Result | create (Span< FiberJob > jobStorage) |
| Result | create (FiberJobClass &jobClass) |
| Result | close () |
| Result | spawn (FiberJobScheduler &scheduler, FiberJob::Procedure procedure, FiberJob *&outJob) |
| Result | spawn (FiberJobScheduler &scheduler, FiberJob::Procedure procedure, FiberCancellationToken token, FiberJob *&outJob) |
| Result | release (FiberJob &job) |
| bool | isOpen () const |
| bool | owns (const FiberJob &job) const |
| size_t | capacity () const |
| size_t | retainedCount () const |
| size_t | availableCount () const |
| void | diagnostics (FiberJobPoolDiagnostics &outDiagnostics) const |
Fixed-capacity owner of reusable FiberJob records with explicit completed-result release.