cds  2.3.3
cds::sync::injecting_monitor< Lock > Class Template Reference

Monitor that injects the lock into each node More...

#include <cds/sync/injecting_monitor.h>

Data Structures

struct  node_injection
 Node injection. More...
 

Public Types

typedef Lock lock_type
 Lock type.
 
template<typename Node >
using scoped_lock = monitor_scoped_lock< injecting_monitor, Node >
 Scoped lock.
 

Public Member Functions

template<typename Node >
void lock (Node const &p) const
 Makes exclusive access to node p.
 
template<typename Node >
void unlock (Node const &p) const
 Unlocks the node p.
 

Detailed Description

template<typename Lock>
class cds::sync::injecting_monitor< Lock >

Monitor that injects the lock into each node

This simple monitor injects the lock object of type Lock into each node. The monitor is designed for user-space locking primitives like spin-lock.

Template arguments:


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

cds 2.3.3 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Apr 5 2026 09:49:58 by Doxygen 1.8.10