userver: userver/rcu/rcu.hpp File Reference
Loading...
Searching...
No Matches
rcu.hpp File Reference

Detailed Description

Read-Copy-Update variable.

Definition in file rcu.hpp.

Go to the source code of this file.

#include <atomic>
#include <cstdlib>
#include <memory>
#include <optional>
#include <utility>
#include <list>
#include <unordered_set>
#include <userver/compiler/thread_local.hpp>
#include <userver/concurrent/impl/asymmetric_fence.hpp>
#include <userver/concurrent/impl/intrusive_hooks.hpp>
#include <userver/concurrent/impl/intrusive_stack.hpp>
#include <userver/concurrent/impl/striped_read_indicator.hpp>
#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>
+ Include dependency graph for rcu.hpp:
+ This graph shows which files directly or indirectly include 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...