Implementation of hazard pointer. More...
#include <atomic>
#include <cstdlib>
#include <list>
#include <unordered_set>
#include <userver/engine/async.hpp>
#include <userver/engine/mutex.hpp>
#include <userver/logging/log.hpp>
#include <userver/rcu/fwd.hpp>
#include <userver/utils/assert.hpp>
#include <userver/utils/impl/wait_token_storage.hpp>
Go to the source code of this file.
Classes | |
struct | rcu::DefaultRcuTraits< T > |
class | rcu::ReadablePtr< T, RcuTraits > |
class | rcu::WritablePtr< T, RcuTraits > |
class | rcu::Variable< T, RcuTraits > |
Read-Copy-Update variable. More... | |
Namespaces | |
namespace | rcu |
Read-Copy-Update. | |
Enumerations | |
enum class | rcu::DestructionType { kSync , kAsync } |
Can be passed to rcu::Variable as the first argument to customize whether old values should be destroyed asynchronously. More... | |
Implementation of hazard pointer.
Definition in file rcu.hpp.