Changeset View
Changeset View
Standalone View
Standalone View
src/sync.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_SYNC_H | #ifndef BITCOIN_SYNC_H | ||||
#define BITCOIN_SYNC_H | #define BITCOIN_SYNC_H | ||||
#include "threadsafety.h" | #include "threadsafety.h" | ||||
#include <boost/thread/condition_variable.hpp> | #include <boost/thread/condition_variable.hpp> | ||||
#include <boost/thread/locks.hpp> | |||||
#include <boost/thread/mutex.hpp> | #include <boost/thread/mutex.hpp> | ||||
#include <boost/thread/recursive_mutex.hpp> | #include <boost/thread/recursive_mutex.hpp> | ||||
///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
// // | // // | ||||
// THE SIMPLE DEFINITION, EXCLUDING DEBUG CODE // | // THE SIMPLE DEFINITION, EXCLUDING DEBUG CODE // | ||||
// // | // // | ||||
///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines |