Skip to content

Instantly share code, notes, and snippets.

View kalectro's full-sized avatar

Kai Franke kalectro

  • Magazino GmbH
  • München
View GitHub Profile
#ifndef ma_concurrent_queue_h
#define ma_concurrent_queue_h
// Based on code from http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html
// Original version by Anthony Williams
// Modifications by Michael Anderson
#include "boost/thread.hpp"
#include <deque>