webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
JSC::Watchdog Class Reference

#include <Watchdog.h>

Inheritance diagram for JSC::Watchdog:
WTF::ThreadSafeRefCounted< Watchdog > WTF::ThreadSafeRefCounted< Watchdog > WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase

Public Types

typedef bool(* ShouldTerminateCallback) (ExecState *, void *data1, void *data2)
 
typedef bool(* ShouldTerminateCallback) (ExecState *, void *data1, void *data2)
 

Public Member Functions

 Watchdog (VM *)
 
void willDestroyVM (VM *)
 
void setTimeLimit (std::chrono::microseconds limit, ShouldTerminateCallback=0, void *data1=0, void *data2=0)
 
bool shouldTerminate (ExecState *)
 
bool hasTimeLimit ()
 
void enteredVM ()
 
void exitedVM ()
 
 Watchdog (VM *)
 
void willDestroyVM (VM *)
 
void setTimeLimit (std::chrono::microseconds limit, ShouldTerminateCallback=0, void *data1=0, void *data2=0)
 
bool shouldTerminate (ExecState *)
 
bool hasTimeLimit ()
 
void enteredVM ()
 
void exitedVM ()
 
- Public Member Functions inherited from WTF::ThreadSafeRefCounted< Watchdog >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::ThreadSafeRefCountedBase
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 

Static Public Attributes

static const std::chrono::microseconds noTimeLimit = std::chrono::microseconds::max()
 

Friends

class LLIntOffsetsExtractor
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::ThreadSafeRefCounted< Watchdog >
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
- Protected Member Functions inherited from WTF::ThreadSafeRefCountedBase
bool derefBase () const
 
bool derefBase () const
 
bool derefBase () const
 

Member Typedef Documentation

◆ ShouldTerminateCallback [1/2]

typedef bool(* JSC::Watchdog::ShouldTerminateCallback) (ExecState *, void *data1, void *data2)

◆ ShouldTerminateCallback [2/2]

typedef bool(* JSC::Watchdog::ShouldTerminateCallback) (ExecState *, void *data1, void *data2)

Constructor & Destructor Documentation

◆ Watchdog() [1/2]

JSC::Watchdog::Watchdog ( VM vm)

◆ Watchdog() [2/2]

JSC::Watchdog::Watchdog ( VM )

Member Function Documentation

◆ enteredVM() [1/2]

void JSC::Watchdog::enteredVM ( )

◆ enteredVM() [2/2]

void JSC::Watchdog::enteredVM ( )

◆ exitedVM() [1/2]

void JSC::Watchdog::exitedVM ( )

◆ exitedVM() [2/2]

void JSC::Watchdog::exitedVM ( )

◆ hasTimeLimit() [1/2]

bool JSC::Watchdog::hasTimeLimit ( )

◆ hasTimeLimit() [2/2]

bool JSC::Watchdog::hasTimeLimit ( )

◆ setTimeLimit() [1/2]

void JSC::Watchdog::setTimeLimit ( std::chrono::microseconds  limit,
ShouldTerminateCallback  = 0,
void data1 = 0,
void data2 = 0 
)

◆ setTimeLimit() [2/2]

void JSC::Watchdog::setTimeLimit ( std::chrono::microseconds  limit,
ShouldTerminateCallback  callback = 0,
void data1 = 0,
void data2 = 0 
)

◆ shouldTerminate() [1/2]

bool JSC::Watchdog::shouldTerminate ( ExecState )

◆ shouldTerminate() [2/2]

bool JSC::Watchdog::shouldTerminate ( ExecState exec)

◆ willDestroyVM() [1/2]

void JSC::Watchdog::willDestroyVM ( VM vm)

◆ willDestroyVM() [2/2]

void JSC::Watchdog::willDestroyVM ( VM )

Friends And Related Function Documentation

◆ LLIntOffsetsExtractor

Member Data Documentation

◆ noTimeLimit

static const std::chrono::microseconds JSC::Watchdog::noTimeLimit = std::chrono::microseconds::max()
static

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