v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "atomicops.h"
Go to the source code of this file.
Data Structures | |
struct | OneArgFunction< T > |
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | V8_ONCE_INIT 0 |
#define | V8_DECLARE_ONCE(NAME) ::v8::internal::OnceType NAME |
Typedefs | |
typedef AtomicWord | OnceType |
typedef void(* | NoArgFunction )() |
typedef void(* | PointerArgFunction )(void *arg) |
Enumerations | |
enum | { ONCE_STATE_UNINITIALIZED = 0, ONCE_STATE_EXECUTING_FUNCTION = 1, ONCE_STATE_DONE = 2 } |
Functions | |
void | CallOnceImpl (OnceType *once, PointerArgFunction init_func, void *arg) |
void | CallOnce (OnceType *once, NoArgFunction init_func) |
template<typename Arg > | |
void | CallOnce (OnceType *once, typename OneArgFunction< Arg * >::type init_func, Arg *arg) |
#define V8_DECLARE_ONCE | ( | NAME | ) | ::v8::internal::OnceType NAME |