|
codex
|
#include <stdbool.h>#include <threads.h>
Classes | |
| struct | queue |
Macros | |
| #define | N 1024 |
Functions | |
| void | init (struct queue *q) |
| void | push (struct queue *q, int i) |
| void | pop (struct queue *q, int *i) |
| bool | is_full (struct queue *q) |
| #define N 1024 |
| void init | ( | struct queue * | q | ) |
| bool is_full | ( | struct queue * | q | ) |
| void pop | ( | struct queue * | q, |
| int * | i ) |
| void push | ( | struct queue * | q, |
| int | i ) |