userver: rcu::SyncRcuTraits Struct Reference
Loading...
Searching...
No Matches
rcu::SyncRcuTraits Struct Reference

#include <userver/rcu/rcu.hpp>

Detailed Description

Deletes garbage synchronously. Designed for storing small amounts of data with relatively fast destructors.

Note
Allows reads from any kind of thread. Only allows writes from coroutine threads.
See also
rcu::DefaultRcuTraits

Definition at line 185 of file rcu.hpp.

+ Inheritance diagram for rcu::SyncRcuTraits:

Public Types

using DeleterType = SyncDeleter
 
using MutexType = engine::Mutex
 

Member Typedef Documentation

◆ DeleterType

Definition at line 186 of file rcu.hpp.

◆ MutexType

MutexType is a writer's mutex type that has to be used to protect structure on update.

Definition at line 172 of file rcu.hpp.


The documentation for this struct was generated from the following file: