TNeo  v1.08
Data Fields
TN_DQueue Struct Reference

Detailed Description

Structure representing data queue object.

Definition at line 105 of file tn_dqueue.h.

Data Fields

enum TN_ObjId id_dque
 id for object validity verification. More...
 
struct TN_ListItem wait_send_list
 list of tasks waiting to send data
 
struct TN_ListItem wait_receive_list
 list of tasks waiting to receive data
 
void ** data_fifo
 array of void * to store data queue items. Can be TN_NULL.
 
int items_cnt
 capacity (total items count). Can be 0.
 
int filled_items_cnt
 count of non-free items in data_fifo
 
int head_idx
 index of the item which will be written next time
 
int tail_idx
 index of the item which will be read next time
 
struct TN_EGrpLink eventgrp_link
 connected event group
 

Field Documentation

◆ id_dque

enum TN_ObjId TN_DQueue::id_dque

id for object validity verification.

This field is in the beginning of the structure to make it easier to detect memory corruption.

Definition at line 110 of file tn_dqueue.h.


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