P99
Macros
p99_fifo.h File Reference
#include "p99_enum.h"
#include "p99_generic.h"
#include "p99_atomic.h"
+ Include dependency graph for p99_fifo.h:

Go to the source code of this file.

Macros

#define P99_FIFO(T)   P99_PASTE2(p00_fifo_, T)
 
#define P99_FIFO_APPEND(L, EL)
 Append element EL to an atomic FIFO L. More...
 
#define P99_FIFO_CLEAR(L)
 Atomically clear an atomic FIFO L and return a pointer to the start of the list that it previously contained. More...
 
#define P99_FIFO_DECLARE(T)
 
#define P99_FIFO_INITIALIZER(HEAD, TAIL)
 
#define P99_FIFO_POP(L)
 Pop the front element from an atomic FIFO L. More...
 
#define P99_FIFO_TABULATE(TYPE, TAB, L)   P00_FIFO_TABULATE(TYPE, TAB, P99_UNIQ(TAB), L)
 
P99_MACRO_VAR
#define P99_MACRO_VAR(NAME, EXPR, QUAL)
Define a variable with NAME that has the type and value of EXPR.
Definition: p99_for.h:1268
P99_FIFO_POP
#define P99_FIFO_POP(L)
Pop the front element from an atomic FIFO L.
Definition: p99_fifo.h:136
P99_FIFO_APPEND
#define P99_FIFO_APPEND(L, EL)
Append element EL to an atomic FIFO L.
Definition: p99_fifo.h:61
P99_FIFO
#define P99_FIFO(T)
Definition: p99_fifo.h:39
p99_extension
#define p99_extension
Mark an expression as using a compiler extension.
Definition: p99_compiler.h:210
P99_NEW
#define P99_NEW(...)
Allocate an element of type T as given by the first argument and initialize it with the remaining arg...
Definition: p99_new.h:314
P99_PASTE2
#define P99_PASTE2(_1, _2)
Paste two token sequences at their junction.
Definition: p99_paste.h:82
P99_DECLARE_STRUCT
#define P99_DECLARE_STRUCT(NAME)
forward declaration of a struct NAME
Definition: p99_type.h:59
P99_POINTER_TYPE
#define P99_POINTER_TYPE(T)
Declare derived pointer types with endings "_ptr" and "_cptr".
Definition: p99_type.h:132
P99_FIFO_DECLARE
#define P99_FIFO_DECLARE(T)
Definition: p99_fifo.h:40