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

Classes

struct  queue
 

Macros

#define N   1024
 

Functions

bool try_push (struct queue *q, int i)
 
bool try_pop (struct queue *q, int *i)
 

Macro Definition Documentation

◆ N

#define N   1024

Function Documentation

◆ try_pop()

bool try_pop ( struct queue * q,
int * i )

◆ try_push()

bool try_push ( struct queue * q,
int i )