#include <boost/thread.hpp>
Go to the source code of this file.
Defines | |
#define | MUTEX boost::mutex |
#define | RECURSIVE_MUTEX boost::recursive_mutex |
#define | SLEEP(secs) { boost::this_thread::sleep(boost::posix_time::milliseconds(secs*1000)); } |
#define | THREAD boost::thread |
#define | THREAD_CONSTR boost::thread |
#define | UNIQUE_LOCK boost::unique_lock<boost::mutex> |
#define | UNIQUE_RECURSIVE_LOCK boost::unique_lock<boost::recursive_mutex> |
#define | USE_BOOST_THREAD |
#define MUTEX boost::mutex |
Definition at line 32 of file ThreadImpl.h.
#define RECURSIVE_MUTEX boost::recursive_mutex |
Definition at line 33 of file ThreadImpl.h.
#define SLEEP | ( | secs | ) | { boost::this_thread::sleep(boost::posix_time::milliseconds(secs*1000)); } |
Definition at line 36 of file ThreadImpl.h.
#define THREAD boost::thread |
Definition at line 30 of file ThreadImpl.h.
#define THREAD_CONSTR boost::thread |
Definition at line 31 of file ThreadImpl.h.
#define UNIQUE_LOCK boost::unique_lock<boost::mutex> |
Definition at line 34 of file ThreadImpl.h.
#define UNIQUE_RECURSIVE_LOCK boost::unique_lock<boost::recursive_mutex> |
Definition at line 35 of file ThreadImpl.h.
#define USE_BOOST_THREAD |
Macros for switching between thread implementations. Temprorary fix until it's decided which thread implementation to use.
Copyright (C) 2016 Jennifer Buehler
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 25 of file ThreadImpl.h.