Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
Loading...
Searching...
No Matches
queue Struct Reference

#include <queue.h>

Public Member Functions

volatile uint16_t bottom __attribute__ ((aligned(CONF_CACHE_LINE)))
 
volatile uint16_t top __attribute__ ((aligned(CONF_CACHE_LINE)))
 

Data Fields

void * entries [UTILS_QUEUE_CAPACITY]
 

Detailed Description

Internal structure of queue.

Definition at line 15 of file queue.h.

Member Function Documentation

◆ __attribute__() [1/2]

volatile uint16_t bottom __attribute__ ( (aligned(CONF_CACHE_LINE)) )

Push here

◆ __attribute__() [2/2]

volatile uint16_t top __attribute__ ( (aligned(CONF_CACHE_LINE)) )

Pop here

Field Documentation

◆ entries

void* entries[UTILS_QUEUE_CAPACITY]

Pointers to data.

Definition at line 18 of file queue.h.

Referenced by utils_queue_peek(), utils_queue_pop(), and utils_queue_push().


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