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 <mutex>
#include <optional>
#include <utility>
#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/rcu/fwd.hpp>
#include <userver/utils/assert.hpp>
#include <userver/utils/impl/wait_token_storage.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  rcu::SnapshotHandle< T >
 A handle to the retired object version, which an RCU deleter should clean up. More...
 
struct  rcu::SyncDeleter
 Destroys retired objects synchronously. More...
 
class  rcu::AsyncDeleter
 Destroys retired objects asynchronously in the same TaskProcessor. More...
 
struct  rcu::DefaultRcuTraits
 Default RCU traits. Deletes garbage asynchronously. Designed for storing data of multi-megabyte or multi-gigabyte caches. More...
 
struct  rcu::SyncRcuTraits
 Deletes garbage synchronously. Designed for storing small amounts of data with relatively fast destructors. More...
 
struct  rcu::BlockingRcuTraits
 Rcu traits for using outside of coroutines. More...
 
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.