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

Data Structures

struct  TRFifo
 Strictly ordered FIFO resource for serialized task execution. More...
 

Macros

#define trfifoCreate()   TRFifo_create()
 

Typedefs

typedef struct TRFifo TRFifo
 Strictly ordered FIFO resource for serialized task execution.
 

Detailed Description

TRFifo provides strictly ordered FIFO (First In, First Out) serialization of task execution. Tasks are guaranteed to run in exactly the order they registered with the resource.

Characteristics:

When to use:

Example use case: Serializing writes to a file or database where order matters.

Linked list node for FIFO queue.

Macro Definition Documentation

◆ trfifoCreate

#define trfifoCreate ( )    TRFifo_create()

TRFifo* trfifoCreate();

Create a new FIFO-ordered resource.

Returns
New TRFifo instance

Definition at line 105 of file trfifo.h.