Access the thread‐local hazard pointer cache.

Synopsis

Declared in <folly/synchronization/Hazptr‐fwd.h>

template<template<
    typename,
    typename> typename Atom = atomic>
hazptr_tc<Atom>&
hazptr_tc_tls();

Return Value

A reference to the calling thread's hazard pointer cache.

Created with MrDocs