V8 Project
once.h File Reference
+ Include dependency graph for once.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v8::base::OneArgFunction< T >
 

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::base
 

Macros

#define V8_ONCE_INIT   0
 
#define V8_DECLARE_ONCE(NAME)   ::v8::base::OnceType NAME
 

Typedefs

typedef AtomicWord v8::base::OnceType
 
typedef void(* v8::base::NoArgFunction) ()
 
typedef void(* v8::base::PointerArgFunction) (void *arg)
 

Enumerations

enum  { v8::base::ONCE_STATE_UNINITIALIZED = 0 , v8::base::ONCE_STATE_EXECUTING_FUNCTION = 1 , v8::base::ONCE_STATE_DONE = 2 }
 

Functions

void v8::base::CallOnceImpl (OnceType *once, PointerArgFunction init_func, void *arg)
 
void v8::base::CallOnce (OnceType *once, NoArgFunction init_func)
 
template<typename Arg >
void v8::base::CallOnce (OnceType *once, typename OneArgFunction< Arg * >::type init_func, Arg *arg)
 

Macro Definition Documentation

◆ V8_DECLARE_ONCE

#define V8_DECLARE_ONCE (   NAME)    ::v8::base::OnceType NAME

Definition at line 64 of file once.h.

◆ V8_ONCE_INIT

#define V8_ONCE_INIT   0

Definition at line 62 of file once.h.