codex
Loading...
Searching...
No Matches
queue_atomic.c File Reference
#include <stdbool.h>
#include <stdatomic.h>
Include dependency graph for queue_atomic.c:

Classes

struct  queue
 

Macros

#define N   1024
 

Functions

int * advance (struct queue *q)
 
void push (struct queue *q, int i)
 
void pop (struct queue *q, int *i)
 
bool is_full (const struct queue *q)
 

Macro Definition Documentation

◆ N

#define N   1024

Function Documentation

◆ advance()

int * advance ( struct queue * q)
Here is the caller graph for this function:

◆ is_full()

bool is_full ( const struct queue * q)

◆ pop()

void pop ( struct queue * q,
int * i )
Here is the call graph for this function:

◆ push()

void push ( struct queue * q,
int i )
Here is the call graph for this function: