diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-07 17:14:28 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-07 17:14:28 +0100 |
commit | 67f57ab2fb7932b1c43ad669e846b425f6fa1f2b (patch) | |
tree | 95e6fc348b067c8ea03c6c3f35a0284c97ddc76f /lf_fifo.h | |
parent | 9c483a02cb2c8d3c67c3cdd1f34630191fa55c1d (diff) | |
download | lock_free-67f57ab2fb7932b1c43ad669e846b425f6fa1f2b.zip lock_free-67f57ab2fb7932b1c43ad669e846b425f6fa1f2b.tar.gz |
push_tail and pop_head goes push and pop
Diffstat (limited to 'lf_fifo.h')
-rw-r--r-- | lf_fifo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,10 +50,10 @@ typedef struct queue { void lf_fifo_init( lf_fifo_t *q ); /* push a node at the tail of q */ -void lf_fifo_push_tail( lf_fifo_t *q, pointer_t *node ); +void lf_fifo_push( lf_fifo_t *q, pointer_t *node ); /* pop a node from the head of q */ -pointer_t* pop_head( lf_fifo_t *q ); +pointer_t* pop( lf_fifo_t *q ); # ifdef __cplusplus } |