25 #ifndef TERVEL_UTIL_MEMORY_HP_LIST_H_
26 #define TERVEL_UTIL_MEMORY_HP_LIST_H_
112 #endif // TERVEL_UTIL_MEMORY_HP_LIST_H_
void add_to_unsafe(Element *elem)
This function adds an Element to the unsafe list.
TODO(steven):
Definition: mcas.h:36
ListManager * manager_
This list's manager.
Definition: hp_list.h:98
void try_to_free_elements(bool dont_check=false)
Tries to free elements from the unsafe list.
Element * element_list_
A linked list of list elements.
Definition: hp_list.h:104
This class is used for the creation of Hazard Pointer Protected Objects Objects which extend it have ...
Definition: hp_element.h:53
friend Element
Definition: hp_list.h:58
Encapsulates a shared central 'to free list' between several thread-local lists.
Definition: list_manager.h:58
ElementList(ListManager *manager)
Definition: hp_list.h:59
Defines a list of objects which are stored until they are safe to be freed.
Definition: hp_list.h:56
~ElementList()
Definition: hp_list.h:61
void send_to_manager()
Sends all elements managed by this list to the parent.