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

#include <semaphore.h>

Inheritance diagram for v8::base::Semaphore:
Collaboration diagram for v8::base::Semaphore:

Public Member Functions

 Semaphore (int count)
 
 Semaphore (const Semaphore &)=delete
 
Semaphoreoperator= (const Semaphore &)=delete
 
 ~Semaphore ()
 
void Signal ()
 
void Wait ()
 
bool WaitFor (const TimeDelta &rel_time) V8_WARN_UNUSED_RESULT
 
NativeHandle & native_handle ()
 
const NativeHandle & native_handle () const
 

Private Attributes

NativeHandle native_handle_
 

Detailed Description

Definition at line 41 of file semaphore.h.

Constructor & Destructor Documentation

◆ Semaphore() [1/2]

v8::base::Semaphore::Semaphore ( int count)
explicit

◆ Semaphore() [2/2]

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

◆ ~Semaphore()

v8::base::Semaphore::~Semaphore ( )

Member Function Documentation

◆ native_handle() [1/2]

NativeHandle & v8::base::Semaphore::native_handle ( )
inline

Definition at line 70 of file semaphore.h.

◆ native_handle() [2/2]

const NativeHandle & v8::base::Semaphore::native_handle ( ) const
inline

Definition at line 73 of file semaphore.h.

◆ operator=()

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

◆ Signal()

void v8::base::Semaphore::Signal ( )
Here is the caller graph for this function:

◆ Wait()

void v8::base::Semaphore::Wait ( )
Here is the caller graph for this function:

◆ WaitFor()

bool v8::base::Semaphore::WaitFor ( const TimeDelta & rel_time)
Here is the caller graph for this function:

Member Data Documentation

◆ native_handle_

NativeHandle v8::base::Semaphore::native_handle_
private

Definition at line 78 of file semaphore.h.


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