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
RequestInterruptTestBase Class Referenceabstract
Inheritance diagram for RequestInterruptTestBase:
Collaboration diagram for RequestInterruptTestBase:

Data Structures

class  InterruptThread
 

Public Member Functions

 RequestInterruptTestBase ()
 
virtual ~RequestInterruptTestBase ()
 
virtual void TestBody ()=0
 
void RunTest ()
 
void WakeUpInterruptor ()
 
bool should_continue () const
 
bool ShouldContinue ()
 

Static Protected Member Functions

static void ShouldContinueCallback (const v8::FunctionCallbackInfo< Value > &info)
 

Protected Attributes

LocalContext env_
 
v8::Isolateisolate_
 
i::Semaphore sem_
 
int warmup_
 
bool should_continue_
 

Detailed Description

Definition at line 21646 of file test-api.cc.

Constructor & Destructor Documentation

Definition at line 21648 of file test-api.cc.

virtual ~RequestInterruptTestBase ( )
inlinevirtual

Definition at line 21656 of file test-api.cc.

Member Function Documentation

void RunTest ( )
inline

Definition at line 21660 of file test-api.cc.

References CHECK, Isolate::ClearInterrupt(), isolate_, should_continue(), and TestBody().

Referenced by TEST().

bool should_continue ( ) const
inline

Definition at line 21679 of file test-api.cc.

References should_continue_.

Referenced by RunTest().

bool ShouldContinue ( )
inline

Definition at line 21681 of file test-api.cc.

References should_continue_, WakeUpInterruptor(), and warmup_.

Referenced by ShouldContinueCallback().

void WakeUpInterruptor ( )
inline

Definition at line 21675 of file test-api.cc.

References sem_.

Referenced by ShouldContinue().

Field Documentation

i::Semaphore sem_
protected
bool should_continue_
protected
int warmup_
protected

Definition at line 21722 of file test-api.cc.

Referenced by ShouldContinue().


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