|
proxygen
|
#include <LifoSem.h>
Public Member Functions | |
| template<typename... Args> | |
| void | init (Args &&...args) |
| void | destroy () |
| Handoff & | handoff () |
| const Handoff & | handoff () const |
Public Member Functions inherited from folly::detail::LifoSemRawNode< Atom > | |
| bool | isShutdownNotice () const |
| void | clearShutdownNotice () |
| void | setShutdownNotice () |
Additional Inherited Members | |
Public Types inherited from folly::detail::LifoSemRawNode< Atom > | |
| typedef folly::IndexedMemPool< LifoSemRawNode< Atom >, 32, 200, Atom > | Pool |
Static Public Member Functions inherited from folly::detail::LifoSemRawNode< Atom > | |
| static Pool & | pool () |
| Storage for all of the waiter nodes for LifoSem-s that use Atom. More... | |
Public Attributes inherited from folly::detail::LifoSemRawNode< Atom > | |
| 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.