v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
V8_FINAL Class Reference
Inheritance diagram for V8_FINAL:
Collaboration diagram for V8_FINAL:

Public Member Functions

 ThreadWithMutexAndConditionVariable ()
 
virtual ~ThreadWithMutexAndConditionVariable ()
 
virtual void Run () V8_OVERRIDE
 
 ThreadWithSharedMutexAndConditionVariable ()
 
virtual ~ThreadWithSharedMutexAndConditionVariable ()
 
virtual void Run () V8_OVERRIDE
 
 LoopIncrementThread (int rem, int *counter, int limit, int thread_count, ConditionVariable *cv, Mutex *mutex)
 
virtual void Run () V8_OVERRIDE
 
 WaitAndSignalThread (Semaphore *semaphore)
 
virtual ~WaitAndSignalThread ()
 
virtual void Run () V8_OVERRIDE
 
 ProducerThread ()
 
virtual ~ProducerThread ()
 
virtual void Run () V8_OVERRIDE
 
 ConsumerThread ()
 
virtual ~ConsumerThread ()
 
virtual void Run () V8_OVERRIDE
 

Data Fields

bool running_
 
bool finished_
 
ConditionVariable cv_
 
Mutex mutex_
 
ConditionVariable * cv_
 
Mutex * mutex_
 

Detailed Description

Definition at line 53 of file test-condition-variable.cc.

Constructor & Destructor Documentation

virtual ~ThreadWithMutexAndConditionVariable ( )
inlinevirtual

Definition at line 58 of file test-condition-variable.cc.

virtual ~ThreadWithSharedMutexAndConditionVariable ( )
inlinevirtual

Definition at line 132 of file test-condition-variable.cc.

virtual ~WaitAndSignalThread ( )
inlinevirtual

Definition at line 43 of file test-semaphore.cc.

virtual ~ProducerThread ( )
inlinevirtual

Definition at line 120 of file test-semaphore.cc.

virtual ~ConsumerThread ( )
inlinevirtual

Definition at line 135 of file test-semaphore.cc.

Member Function Documentation

ConsumerThread ( )
inline

Definition at line 134 of file test-semaphore.cc.

LoopIncrementThread ( int  rem,
int *  counter,
int  limit,
int  thread_count,
ConditionVariable *  cv,
Mutex *  mutex 
)
inline

Definition at line 232 of file test-condition-variable.cc.

References CHECK_EQ, and CHECK_LT.

ProducerThread ( )
inline

Definition at line 119 of file test-semaphore.cc.

virtual void Run ( )
inlinevirtual

Definition at line 45 of file test-semaphore.cc.

References ASSERT, and v8::internal::USE().

virtual void Run ( )
inlinevirtual

Definition at line 60 of file test-condition-variable.cc.

virtual void Run ( )
inlinevirtual

Definition at line 122 of file test-semaphore.cc.

virtual void Run ( )
inlinevirtual

Definition at line 134 of file test-condition-variable.cc.

virtual void Run ( )
inlinevirtual

Definition at line 137 of file test-semaphore.cc.

References ASSERT_EQ.

virtual void Run ( )
inlinevirtual

Definition at line 244 of file test-condition-variable.cc.

References CHECK_EQ.

ThreadWithMutexAndConditionVariable ( )
inline

Definition at line 55 of file test-condition-variable.cc.

ThreadWithSharedMutexAndConditionVariable ( )
inline

Definition at line 129 of file test-condition-variable.cc.

WaitAndSignalThread ( Semaphore *  semaphore)
inlineexplicit

Definition at line 41 of file test-semaphore.cc.

Field Documentation

ConditionVariable * cv_

Definition at line 73 of file test-condition-variable.cc.

ConditionVariable* cv_

Definition at line 147 of file test-condition-variable.cc.

bool finished_

Definition at line 72 of file test-condition-variable.cc.

Mutex * mutex_

Definition at line 74 of file test-condition-variable.cc.

Mutex* mutex_

Definition at line 148 of file test-condition-variable.cc.

bool running_

Definition at line 71 of file test-condition-variable.cc.


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