codex
|
#include <stdbool.h>
#include <stdatomic.h>
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) |
#define N 1024 |
int * advance | ( | struct queue * | q | ) |
bool is_full | ( | const struct queue * | q | ) |
void pop | ( | struct queue * | q, |
int * | i ) |
void push | ( | struct queue * | q, |
int | i ) |