#include <atomic>
#include <new>
#include <functional>
#include <SC_Lock.h>
#include <boost/lockfree/queue.hpp>
#include <string.h>
#include <math.h>
#include <limits>
#if defined(__APPLE__) || defined(__linux__)
# include <pthread.h>
#include <termios.h>
#include <unistd.h>
#include <boost/atomic.hpp>
#include <stdexcept>
#include <sstream>