proxygen
folly::detail::ThreadCachedLists< Tag >::TLHead Struct Reference
Inheritance diagram for folly::detail::ThreadCachedLists< Tag >::TLHead:
folly::detail::ThreadCachedLists< Tag >::AtomicListHead

Public Member Functions

 TLHead (ThreadCachedLists *parent)
 
 ~TLHead ()
 

Public Attributes

ThreadCachedListsparent_
 
- Public Attributes inherited from folly::detail::ThreadCachedLists< Tag >::AtomicListHead
std::atomic< Node * > tail_ {nullptr}
 
std::atomic< Node * > head_ {nullptr}
 

Detailed Description

template<typename Tag>
struct folly::detail::ThreadCachedLists< Tag >::TLHead

Definition at line 87 of file ThreadCachedLists.h.

Constructor & Destructor Documentation

template<typename Tag>
folly::detail::ThreadCachedLists< Tag >::TLHead::TLHead ( ThreadCachedLists parent)
inline

Definition at line 91 of file ThreadCachedLists.h.

91 : parent_(parent) {}
folly::Function< void()> parent
Definition: AtFork.cpp:34
template<typename Tag>
folly::detail::ThreadCachedLists< Tag >::TLHead::~TLHead ( )
inline

Definition at line 93 of file ThreadCachedLists.h.

References folly::detail::ThreadCachedLists< Tag >::ghead_.

93  {
94  parent_->ghead_->splice(*this);
95  }
folly::Synchronized< ListHead > ghead_

Member Data Documentation

template<typename Tag>
ThreadCachedLists* folly::detail::ThreadCachedLists< Tag >::TLHead::parent_

Definition at line 88 of file ThreadCachedLists.h.


The documentation for this struct was generated from the following file: