v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
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::Isolate * | isolate_ |
i::Semaphore | sem_ |
int | warmup_ |
bool | should_continue_ |
Definition at line 21646 of file test-api.cc.
|
inline |
Definition at line 21648 of file test-api.cc.
|
inlinevirtual |
Definition at line 21656 of file test-api.cc.
|
inline |
Definition at line 21660 of file test-api.cc.
References CHECK, Isolate::ClearInterrupt(), isolate_, should_continue(), and TestBody().
Referenced by TEST().
|
inline |
|
inline |
Definition at line 21681 of file test-api.cc.
References should_continue_, WakeUpInterruptor(), and warmup_.
Referenced by ShouldContinueCallback().
|
inlinestaticprotected |
Definition at line 21692 of file test-api.cc.
References FunctionCallbackInfo< T >::Data(), FunctionCallbackInfo< T >::GetReturnValue(), and ShouldContinue().
Referenced by RequestInterruptTestWithFunctionCall::TestBody(), RequestInterruptTestWithMethodCall::TestBody(), RequestInterruptTestWithAccessor::TestBody(), and RequestInterruptTestWithMethodCallAndInterceptor::TestBody().
|
pure virtual |
|
inline |
|
protected |
Definition at line 21719 of file test-api.cc.
Referenced by RequestInterruptTestWithFunctionCall::TestBody(), RequestInterruptTestWithMethodCall::TestBody(), RequestInterruptTestWithAccessor::TestBody(), RequestInterruptTestWithNativeAccessor::TestBody(), RequestInterruptTestWithMethodCallAndInterceptor::TestBody(), and RequestInterruptTestWithMathAbs::TestBody().
|
protected |
Definition at line 21720 of file test-api.cc.
Referenced by RequestInterruptTestBase::InterruptThread::Run(), RunTest(), RequestInterruptTestWithFunctionCall::TestBody(), RequestInterruptTestWithMethodCall::TestBody(), RequestInterruptTestWithAccessor::TestBody(), RequestInterruptTestWithNativeAccessor::TestBody(), RequestInterruptTestWithMethodCallAndInterceptor::TestBody(), and RequestInterruptTestWithMathAbs::TestBody().
|
protected |
Definition at line 21721 of file test-api.cc.
Referenced by RequestInterruptTestBase::InterruptThread::Run(), and WakeUpInterruptor().
|
protected |
Definition at line 21723 of file test-api.cc.
Referenced by RequestInterruptTestBase::InterruptThread::OnInterrupt(), should_continue(), and ShouldContinue().
|
protected |
Definition at line 21722 of file test-api.cc.
Referenced by ShouldContinue().