Caller-owned stackless CPU job. Its address must remain stable while active. More...
#include <Fibers.h>
Public Types | |
| using | Procedure = Function<Result(FiberJobContext&)> |
Public Member Functions | |
| FiberJob (const FiberJob &)=delete | |
| FiberJob & | operator= (const FiberJob &)=delete |
| FiberJob (FiberJob &&)=delete | |
| FiberJob & | operator= (FiberJob &&)=delete |
| bool | isActive () const |
| bool | isCompleted () const |
| bool | isCancellationRequested () const |
| FiberJobStatus | status () const |
| Result | result () const |
Friends | |
| struct | FiberJobContext |
| struct | FiberJobGroup |
| struct | FiberJobPool |
| struct | FiberJobScheduler |
Caller-owned stackless CPU job. Its address must remain stable while active.