proxygen
|
#include <LifoSem.h>
Public Member Functions | |
template<typename... Args> | |
void | init (Args &&...args) |
void | destroy () |
Handoff & | handoff () |
const Handoff & | handoff () const |
![]() | |
bool | isShutdownNotice () const |
void | clearShutdownNotice () |
void | setShutdownNotice () |
Additional Inherited Members | |
![]() | |
typedef folly::IndexedMemPool< LifoSemRawNode< Atom >, 32, 200, Atom > | Pool |
![]() | |
static Pool & | pool () |
Storage for all of the waiter nodes for LifoSem-s that use Atom. More... | |
![]() | |
std::aligned_storage< sizeof(void *), alignof(void *)>::type | raw |
uint32_t | next |
Handoff is a type not bigger than a void* that knows how to perform a single post() -> wait() communication. It must have a post() method. If it has a wait() method then LifoSemBase's wait() implementation will work out of the box, otherwise you will need to specialize LifoSemBase::wait accordingly.
|
inline |
Definition at line 179 of file LifoSem.h.
Referenced by folly::detail::LifoSemNodeRecycler< Handoff, Atom >::operator()().
|
inline |
Definition at line 186 of file LifoSem.h.
|
inline |
Definition at line 190 of file LifoSem.h.
References Atom.
|
inline |
Definition at line 175 of file LifoSem.h.