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

Caller-owned task object scheduled by FiberScheduler. More...

#include <Fibers.h>

Public Types

using Procedure = Function<Result(FiberScheduler&)>
 

Public Member Functions

 FiberTask (const FiberTask &)=delete
 
FiberTaskoperator= (const FiberTask &)=delete
 
 FiberTask (FiberTask &&)=delete
 
FiberTaskoperator= (FiberTask &&)=delete
 
bool isValid () const
 
bool isStarted () const
 
bool isCompleted () const
 
bool isActive () const
 
bool isCancellationRequested () const
 
FiberTaskStatus status () const
 
Result result () const
 
void setUserData (void *data)
 
void * userData () const
 

Friends

struct FiberTaskGroup
 
struct FiberScheduler
 

Detailed Description

Caller-owned task object scheduled by FiberScheduler.


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