FastFlow  SVN-r182-Aug-14-2014
A high-level, lock-less, parallel programming (shared-memory) and distributed programming (distributed-memory) framework for multi-cores and many-cores systems
 All Classes Namespaces Files Functions Variables Typedefs Groups Pages
Classes | Namespaces
squeue.hpp File Reference

Simple yet efficient (not concurrent) unbounded FIFO queue. More...

#include <stdlib.h>
+ Include dependency graph for squeue.hpp:

Classes

class  ff::squeue< T >
 Unbound sequential FIFO queue. More...
 

Namespaces

 ff
 The principal namespace for the FastFlow library.
 

Detailed Description

Simple yet efficient (not concurrent) unbounded FIFO queue.

This queue have to be used by one single thread at a time, or, each method call have to be protected by a mutex lock. For an unbounded producer-consumer queue implementation see ubuffer.hpp