gsdx-thread: remove deprecated boost code

This commit is contained in:
Gregory Hainaut 2015-05-18 16:55:49 +02:00
parent 19d9349b0b
commit 012f1b4f05
1 changed files with 0 additions and 13 deletions

View File

@ -22,12 +22,7 @@
#pragma once
#include "GSdx.h"
#define BOOST_STAND_ALONE
#ifdef BOOST_STAND_ALONE
#include "boost_spsc_queue.hpp"
#else
#include <boost/lockfree/spsc_queue.hpp>
#endif
class IGSThread
{
@ -110,11 +105,7 @@ template<class T> class GSJobQueue : public IGSJobQueue<T>
protected:
std::atomic<int16_t> m_count;
std::atomic<bool> m_exit;
#ifdef BOOST_STAND_ALONE
ringbuffer_base<T, 256> m_queue;
#else
boost::lockfree::spsc_queue<T, boost::lockfree::capacity<255> > m_queue;
#endif
std::mutex m_lock;
std::condition_variable m_empty;
@ -211,11 +202,7 @@ template<class T> class GSJobQueueSpin : public IGSJobQueue<T>
protected:
std::atomic<int16_t> m_count;
std::atomic<bool> m_exit;
#ifdef BOOST_STAND_ALONE
ringbuffer_base<T, 256> m_queue;
#else
boost::lockfree::spsc_queue<T, boost::lockfree::capacity<255> > m_queue;
#endif
std::mutex m_lock;
std::condition_variable m_empty;