cds  2.3.2
cds::sync::trivial_select_policy Struct Reference

Trivial lock lock_array selection policy. More...

#include <cds/sync/lock_array.h>

Public Member Functions

size_t operator() (size_t nWhat, size_t nCapacity) const
 Returns nWhat.
 

Static Public Member Functions

static bool is_capacity_accepted (size_t nCapacity)
 Checks if nCapacity is acceptable by policy. For trivial policy, any nCapacity is accepted.
 

Detailed Description

Trivial lock lock_array selection policy.


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:54 by Doxygen 1.8.13