Retire an object so it is reclaimed once no hazard pointer protects it.
Declared in <folly/synchronization/Hazptr-fwd.h>
template<
template<typename> typename Atom = atomic,
typename T,
typename D = std::default_delete<T>>
void
hazptr_retire(
T* obj,
D reclaim = {});
| Name | Description |
|---|---|
| obj | The object to retire. |
| reclaim | The callable used to reclaim the object when it is safe. |