proxygen
|
#include <AtomicIntrusiveLinkedList.h>
Public Attributes | |
T * | next {nullptr} |
A very simple atomic single-linked list primitive.
Usage:
class MyClass { AtomicIntrusiveLinkedListHook<MyClass> hook_; }
AtomicIntrusiveLinkedList<MyClass, &MyClass::hook_> list; list.insert(&a); list.sweep([] (MyClass* c) { doSomething(c); }
Definition at line 39 of file AtomicIntrusiveLinkedList.h.
T* folly::AtomicIntrusiveLinkedListHook< T >::next {nullptr} |
Definition at line 40 of file AtomicIntrusiveLinkedList.h.
Referenced by folly::AtomicIntrusiveLinkedList< folly::fibers::Fiber,&folly::fibers::Fiber::nextRemoteReady_ >::insertHead(), folly::AtomicIntrusiveLinkedList< folly::fibers::Fiber,&folly::fibers::Fiber::nextRemoteReady_ >::reverse(), and folly::AtomicIntrusiveLinkedList< folly::fibers::Fiber,&folly::fibers::Fiber::nextRemoteReady_ >::unlinkAll().