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

#include <userver/rcu/rcu.hpp>

Detailed Description

Rcu traits for using outside of coroutines.

Note
Allows reads from any kind of thread. Only allows writes from NON-coroutine threads.
Warning
Blocks writing threads which are coroutines, which can cause deadlocks and hangups.
See also
rcu::DefaultRcuTraits

Definition at line 195 of file rcu.hpp.

+ Inheritance diagram for rcu::BlockingRcuTraits:

Public Types

using MutexType = std::mutex
 
using DeleterType = SyncDeleter
 

Member Typedef Documentation

◆ DeleterType

Definition at line 197 of file rcu.hpp.

◆ MutexType

using rcu::BlockingRcuTraits::MutexType = std::mutex

Definition at line 196 of file rcu.hpp.


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