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