hazptr_obj_list

Synopsis

Declared in <folly/synchronization/HazptrObj.h>

template<template<typename> typename Atom = atomic>
class hazptr_obj_list;

Member Functions

Name

Description

hazptr_obj_list [constructor]

Constructors

clear

Empties the list without reclaiming any objects.

count

Returns the number of objects in the list.

empty

Reports whether the list is empty.

head

Returns the first object in the list.

push

Pushes an object onto the list.

set_count

Sets the cached object count.

splice

Moves all objects from another list into this one.

tail

Returns the last object in the list.

Non-Member Functions

Name

Description

hazptr_domain_push_retired

Push a list of retired objects into a domain for later reclamation.

Created with MrDocs