Contents
SynchronizedQueue

Overview

A simple non-blocking queue that uses a std::list and a mutex to provide a thread safe queue.

SynchronizedQueue implements the Queue API and provides a simple (and ineffIcient) thread safe queue.

Quick start

#include <Balau/Container/SynchronizedQueue.hpp>

The construction of a synchronised queue is made by the default constructor.

			// Create a synchronised queue.
			SynchronizedQueue<T> queue;
		

The queue is used in the same way as any other Queue implementation. See the Queue API documentation for information on the queue interface.

Concurrency

This queue implementation is thread safe but is not lock free.