proxygen
|
#include <CallOnce.h>
Public Member Functions | |
constexpr | basic_once_flag () noexcept=default |
basic_once_flag (const basic_once_flag &)=delete | |
basic_once_flag & | operator= (const basic_once_flag &)=delete |
Private Member Functions | |
template<typename F , typename... Args> | |
FOLLY_ALWAYS_INLINE void | call_once (F &&f, Args &&...args) |
template<typename F , typename... Args> | |
FOLLY_NOINLINE void | call_once_slow (F &&f, Args &&...args) |
Private Attributes | |
Atom< bool > | called_ {false} |
Mutex | mutex_ |
Friends | |
template<typename Mutex_ , template< typename > class Atom_, typename F , typename... Args> | |
void | call_once (basic_once_flag< Mutex_, Atom_ > &, F &&, Args &&...) |
Definition at line 31 of file CallOnce.h.
|
defaultnoexcept |
Referenced by folly::call_once().
|
delete |
|
inlineprivate |
Definition at line 81 of file CallOnce.h.
|
inlineprivate |
Definition at line 89 of file CallOnce.h.
Referenced by folly::basic_once_flag< SharedMutex >::call_once().
|
delete |
Referenced by folly::call_once().
|
friend |
Referenced by folly::call_once().
|
private |
Definition at line 98 of file CallOnce.h.
Referenced by folly::basic_once_flag< SharedMutex >::call_once(), and folly::basic_once_flag< SharedMutex >::call_once_slow().
|
private |
Definition at line 99 of file CallOnce.h.
Referenced by folly::basic_once_flag< SharedMutex >::call_once_slow().