userver: rcu Namespace Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
rcu Namespace Reference

Read-Copy-Update. More...

Classes

struct  DefaultRcuMapTraits
 
struct  DefaultRcuTraits
 
class  MissingKeyException
 Thrown on missing element access. More...
 
class  RcuMap
 Map-like structure allowing RCU keyset updates. More...
 
class  RcuMapIterator
 Forward iterator for the rcu::RcuMap. More...
 
class  ReadablePtr
 
class  Variable
 Read-Copy-Update variable. More...
 
class  WritablePtr
 

Enumerations

enum class  DestructionType {
  kSync ,
  kAsync
}
 Can be passed to rcu::Variable as the first argument to customize whether old values should be destroyed asynchronously. More...
 

Detailed Description

Read-Copy-Update.

See also
Based on ideas from http://www.drdobbs.com/lock-free-data-structures-with-hazard-po/184401890 with modified API

Enumeration Type Documentation

◆ DestructionType

enum class rcu::DestructionType
strong

Can be passed to rcu::Variable as the first argument to customize whether old values should be destroyed asynchronously.

Definition at line 279 of file rcu.hpp.