folly::hazptr_tc

hazptr_tc

Synopsis

Declared in <folly/synchronization/HazptrThrLocal.h>

template<template<
    typename,
    typename> typename Atom = atomic>
class hazptr_tc;

Member Functions

NameDescription
hazptr_tc [constructor]Constructors
~hazptr_tc [destructor]Evicts all cached records on destruction.
operator= Assignment operators
allocated_capacity Returns the allocated capacity of the backing store.
count Returns the number of records currently cached.

Static Member Functions

NameDescription
min_capacity Returns the minimum guaranteed capacity of the cache.

Friends

NameDescription
folly::hazptr_tc_evict<Atom>
folly::hazptr_holderhazptr_holder
folly::hazptr_arrayhazptr_array
folly::hazptr_localhazptr_local

Non-Member Functions

NameDescription
hazptr_tc_tlsAccess the thread-local hazard pointer cache.