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

Macros

#define trlifoCreate()   TRLifo_create()
 

Detailed Description

TRLifo provides strictly ordered LIFO (Last In, First Out) serialization of task execution. Tasks are guaranteed to run in reverse order of registration, with the most recent task running first (stack ordering).

Characteristics:

When to use:

Example use case: Resource cleanup where most recent allocations should be freed first.

Strictly ordered LIFO resource for stack-like task execution.

Macro Definition Documentation

◆ trlifoCreate

#define trlifoCreate ( )    TRLifo_create()

TRLifo* trlifoCreate();

Create a new LIFO-ordered resource.

Returns
New TRLifo instance

Definition at line 107 of file trlifo.h.