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

#include <futex-emulation.h>

Collaboration diagram for v8::internal::FutexWaitListNode:

Classes

struct  AsyncState
 

Public Member Functions

 FutexWaitListNode ()=default
 
 FutexWaitListNode (std::weak_ptr< BackingStore > backing_store, void *wait_location, DirectHandle< JSObject > promise_capability, Isolate *isolate)
 
 FutexWaitListNode (const FutexWaitListNode &)=delete
 
FutexWaitListNodeoperator= (const FutexWaitListNode &)=delete
 
void NotifyWake ()
 
bool IsAsync () const
 
bool CancelTimeoutTask ()
 

Private Attributes

base::ConditionVariable cond_
 
FutexWaitListNodeprev_ = nullptr
 
FutexWaitListNodenext_ = nullptr
 
void * wait_location_ = nullptr
 
bool waiting_ = false
 
bool interrupted_ = false
 
const std::unique_ptr< AsyncStateasync_state_
 

Friends

class FutexEmulation
 
class FutexWaitList
 

Detailed Description

Definition at line 42 of file futex-emulation.h.

Constructor & Destructor Documentation

◆ FutexWaitListNode() [1/3]

v8::internal::FutexWaitListNode::FutexWaitListNode ( )
default

◆ FutexWaitListNode() [2/3]

v8::internal::FutexWaitListNode::FutexWaitListNode ( std::weak_ptr< BackingStore > backing_store,
void * wait_location,
DirectHandle< JSObject > promise_capability,
Isolate * isolate )

Definition at line 488 of file futex-emulation.cc.

◆ FutexWaitListNode() [3/3]

v8::internal::FutexWaitListNode::FutexWaitListNode ( const FutexWaitListNode & )
delete

Member Function Documentation

◆ CancelTimeoutTask()

bool v8::internal::FutexWaitListNode::CancelTimeoutTask ( )

Definition at line 124 of file futex-emulation.cc.

Here is the call graph for this function:

◆ IsAsync()

bool v8::internal::FutexWaitListNode::IsAsync ( ) const
inline

Definition at line 59 of file futex-emulation.h.

Here is the caller graph for this function:

◆ NotifyWake()

void v8::internal::FutexWaitListNode::NotifyWake ( )

Definition at line 137 of file futex-emulation.cc.

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

◆ operator=()

FutexWaitListNode & v8::internal::FutexWaitListNode::operator= ( const FutexWaitListNode & )
delete

Friends And Related Symbol Documentation

◆ FutexEmulation

friend class FutexEmulation
friend

Definition at line 65 of file futex-emulation.h.

◆ FutexWaitList

friend class FutexWaitList
friend

Definition at line 66 of file futex-emulation.h.

Member Data Documentation

◆ async_state_

const std::unique_ptr<AsyncState> v8::internal::FutexWaitListNode::async_state_
private

Definition at line 135 of file futex-emulation.h.

◆ cond_

base::ConditionVariable v8::internal::FutexWaitListNode::cond_
private

Definition at line 115 of file futex-emulation.h.

◆ interrupted_

bool v8::internal::FutexWaitListNode::interrupted_ = false
private

Definition at line 132 of file futex-emulation.h.

◆ next_

FutexWaitListNode* v8::internal::FutexWaitListNode::next_ = nullptr
private

Definition at line 118 of file futex-emulation.h.

◆ prev_

FutexWaitListNode* v8::internal::FutexWaitListNode::prev_ = nullptr
private

Definition at line 117 of file futex-emulation.h.

◆ wait_location_

void* v8::internal::FutexWaitListNode::wait_location_ = nullptr
private

Definition at line 126 of file futex-emulation.h.

◆ waiting_

bool v8::internal::FutexWaitListNode::waiting_ = false
private

Definition at line 131 of file futex-emulation.h.


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