Changeset View
Changeset View
Standalone View
Standalone View
src/rcu.cpp
// Copyright (c) 2018 The Bitcoin developers | // Copyright (c) 2018 The Bitcoin 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. | ||||
#include "rcu.h" | #include <rcu.h> | ||||
#include "sync.h" | |||||
#include <sync.h> | |||||
#include <algorithm> | #include <algorithm> | ||||
#include <chrono> | #include <chrono> | ||||
#include <condition_variable> | #include <condition_variable> | ||||
std::atomic<uint64_t> RCUInfos::revision{0}; | std::atomic<uint64_t> RCUInfos::revision{0}; | ||||
thread_local RCUInfos RCUInfos::infos{}; | thread_local RCUInfos RCUInfos::infos{}; | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |