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

Bare minimum task object with state tracking and run method. More...

#include <basictask.h>

Public Member Functions

 atomic (uint32) state
 

Data Fields

void * logctx
 

Detailed Description

Bare minimum task object with state tracking and run method.

Definition at line 69 of file basictask.h.

Member Function Documentation

◆ atomic()

BasicTask::atomic ( uint32  )

Current task state and flags

Field Documentation

◆ logctx

void* BasicTask::logctx

Log context captured when the task was added to a queue and restored around run(), so records written on the worker thread still carry the submitter's log context. Owned; use logCtx* to touch it.

Definition at line 83 of file basictask.h.


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