25 #ifndef TERVEL_CONTAINERS_WF_RINGBUFFER_RINGBUFFER_HELPER_H_
26 #define TERVEL_CONTAINERS_WF_RINGBUFFER_RINGBUFFER_HELPER_H_
32 namespace containers {
40 , old_value_(old_value) {}
43 bool on_watch(std::atomic<void *> *address,
void *expected);
55 static inline uintptr_t HelperType(
Helper *h);
57 static inline bool isHelperType(uintptr_t val);
59 static inline Helper *getHelperType(uintptr_t val);
71 #endif // TERVEL_CONTAINERS_WF_RINGBUFFER_RINGBUFFER_HELPER_H_
TODO(steven):
Definition: mcas.h:36
const uintptr_t old_value_
Definition: helper.h:62
BufferOp * op_
Definition: helper.h:61
This class is used for the creation of Hazard Pointer Protected Objects Objects which extend it have ...
Definition: hp_element.h:53
~Helper()
Definition: helper.h:41
This is a non-blocking FIFO ring buffer design that was made wait-free by applying a progress assuran...
Definition: ring_buffer.h:73
Definition: ring_buffer_op.h:44
Helper(BufferOp *op, uintptr_t old_value)
Definition: helper.h:38