V8 Project
v8::base::ThreadSafeInitOnceTrait Struct Reference

#include <lazy-instance.h>

+ Collaboration diagram for v8::base::ThreadSafeInitOnceTrait:

Static Public Member Functions

template<typename Function , typename Storage >
static void Init (OnceType *once, Function function, Storage storage)
 

Detailed Description

Definition at line 145 of file lazy-instance.h.

Member Function Documentation

◆ Init()

template<typename Function , typename Storage >
static void v8::base::ThreadSafeInitOnceTrait::Init ( OnceType once,
Function  function,
Storage  storage 
)
inlinestatic

Definition at line 147 of file lazy-instance.h.

147  {
148  CallOnce(once, function, storage);
149  }
void CallOnce(OnceType *once, NoArgFunction init_func)
Definition: once.h:82

References v8::base::CallOnce().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: