userver: rcu Namespace Reference
Loading...
Searching...
No Matches
rcu Namespace Reference

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

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...
 

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 260 of file rcu.hpp.