CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
ComplexTask Struct Reference

Complex task with dependencies, scheduling, and resource management. More...

#include <complextask.h>

Public Member Functions

 atomic (uint32) state
 Current task state and flags.
 
 Weak (ComplexTaskQueue) *lastq
 Last queue this task ran on before being deferred.
 
 atomic (uint32) _advcount
 Number of times task has been advanced.
 

Data Fields

string name
 Task name shown in monitor output.
 
int64 last
 Last time this task was moved between queues and/or run.
 
cchain oncomplete
 Functions called when task completes (success or failure)
 
int64 nextrun
 Next scheduled run time.
 
int64 lastprogress
 Timestamp of last progress change.
 
sa_TaskRequires _requires
 List of requirements (dependencies, resources, gates)
 
uint16 flags
 Task behavior flags (ComplexTaskFlagsEnum)
 
uint16 _intflags
 Internal flags reserved for scheduler use.
 

Detailed Description

Complex task with dependencies, scheduling, and resource management.

Definition at line 102 of file complextask.h.


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