hazptr_holder
Declared in <folly/synchronization/HazptrHolder.h>
template<template<
typename,
typename,
typename> typename Atom = atomic>
class hazptr_holder;
| Name | Description |
|---|---|
hazptr_holder [constructor] | Constructors |
~hazptr_holder [destructor] | Destroys the holder, releasing any owned hazard pointer. |
operator= | Assignment operators |
hprec | Returns a pointer to the owned hazptr_rec. |
protect | protect overloads |
reset_protection | reset_protection overloads |
set_hprec | Sets the pointer to the owned hazptr_rec. |
swap | Swaps ownership of hazard pointers between two holders. |
try_protect | try_protect overloads |
| Name | Description |
|---|---|
folly::hazptr_local | Grants hazptr_local access to the thread cache internals. |
| Name | Description |
|---|---|
make_hazard_pointer | Construct a nonempty hazard pointer holder. |
swap | Swap the contents of two hazard pointer holders. |