v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ConditionVariable Class Reference

#include <condition-variable.h>

Inheritance diagram for v8::base::ConditionVariable:
Collaboration diagram for v8::base::ConditionVariable:

Public Member Functions

 ConditionVariable ()
 
 ConditionVariable (const ConditionVariable &)=delete
 
ConditionVariableoperator= (const ConditionVariable &)=delete
 
 ~ConditionVariable ()
 
void NotifyOne ()
 
void NotifyAll ()
 
void Wait (Mutex *mutex)
 
bool WaitFor (Mutex *mutex, const TimeDelta &rel_time) V8_WARN_UNUSED_RESULT
 

Private Attributes

absl::CondVar native_handle_
 

Detailed Description

Definition at line 37 of file condition-variable.h.

Constructor & Destructor Documentation

◆ ConditionVariable() [1/2]

v8::base::ConditionVariable::ConditionVariable ( )
default

◆ ConditionVariable() [2/2]

v8::base::ConditionVariable::ConditionVariable ( const ConditionVariable & )
delete

◆ ~ConditionVariable()

v8::base::ConditionVariable::~ConditionVariable ( )
default

Member Function Documentation

◆ NotifyAll()

void v8::base::ConditionVariable::NotifyAll ( )

Definition at line 25 of file condition-variable.cc.

Here is the caller graph for this function:

◆ NotifyOne()

void v8::base::ConditionVariable::NotifyOne ( )

Definition at line 23 of file condition-variable.cc.

Here is the caller graph for this function:

◆ operator=()

ConditionVariable & v8::base::ConditionVariable::operator= ( const ConditionVariable & )
delete

◆ Wait()

void v8::base::ConditionVariable::Wait ( Mutex * mutex)

Definition at line 27 of file condition-variable.cc.

Here is the caller graph for this function:

◆ WaitFor()

bool v8::base::ConditionVariable::WaitFor ( Mutex * mutex,
const TimeDelta & rel_time )

Definition at line 33 of file condition-variable.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ native_handle_

absl::CondVar v8::base::ConditionVariable::native_handle_
private

Definition at line 70 of file condition-variable.h.


The documentation for this class was generated from the following files: