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

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
 
FiberJoboperator= (const FiberJob &)=delete
 
 FiberJob (FiberJob &&)=delete
 
FiberJoboperator= (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
 

Detailed Description

Caller-owned stackless CPU job. Its address must remain stable while active.


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