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 <condition_variable> | #include <condition_variable> | ||||
#include <mutex> | #include <mutex> | ||||
#include <thread> | #include <thread> | ||||
///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
// // | // // | ||||
// THE SIMPLE DEFINITION, EXCLUDING DEBUG CODE // | // THE SIMPLE DEFINITION, EXCLUDING DEBUG CODE // | ||||
▲ Show 20 Lines • Show All 263 Lines • Show Last 20 Lines |