webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::WorkerRunLoop Class Reference

#include <WorkerRunLoop.h>

Classes

class  Task
 

Public Types

enum  WaitMode { WaitForMessage, DontWaitForMessage, WaitForMessage, DontWaitForMessage }
 
enum  WaitMode { WaitForMessage, DontWaitForMessage, WaitForMessage, DontWaitForMessage }
 

Public Member Functions

 WorkerRunLoop ()
 
 ~WorkerRunLoop ()
 
void run (WorkerGlobalScope *)
 
MessageQueueWaitResult runInMode (WorkerGlobalScope *, const String &mode, WaitMode=WaitForMessage)
 
void terminate ()
 
bool terminated () const
 
void postTask (ScriptExecutionContext::Task &&)
 
void postTaskAndTerminate (ScriptExecutionContext::Task &&)
 
void postTaskForMode (ScriptExecutionContext::Task &&, const String &mode)
 
unsigned long createUniqueId ()
 
 WorkerRunLoop ()
 
 ~WorkerRunLoop ()
 
void run (WorkerGlobalScope *)
 
MessageQueueWaitResult runInMode (WorkerGlobalScope *, const String &mode, WaitMode=WaitForMessage)
 
void terminate ()
 
bool terminated () const
 
void postTask (ScriptExecutionContext::Task &&)
 
void postTaskAndTerminate (ScriptExecutionContext::Task &&)
 
void postTaskForMode (ScriptExecutionContext::Task &&, const String &mode)
 
unsigned long createUniqueId ()
 

Static Public Member Functions

static String defaultMode ()
 
static String debuggerMode ()
 
static String defaultMode ()
 
static String debuggerMode ()
 

Friends

class RunLoopSetup
 

Member Enumeration Documentation

◆ WaitMode [1/2]

Enumerator
WaitForMessage 
DontWaitForMessage 
WaitForMessage 
DontWaitForMessage 

◆ WaitMode [2/2]

Enumerator
WaitForMessage 
DontWaitForMessage 
WaitForMessage 
DontWaitForMessage 

Constructor & Destructor Documentation

◆ WorkerRunLoop() [1/2]

WebCore::WorkerRunLoop::WorkerRunLoop ( )

◆ ~WorkerRunLoop() [1/2]

WebCore::WorkerRunLoop::~WorkerRunLoop ( )

◆ WorkerRunLoop() [2/2]

WebCore::WorkerRunLoop::WorkerRunLoop ( )

◆ ~WorkerRunLoop() [2/2]

WebCore::WorkerRunLoop::~WorkerRunLoop ( )

Member Function Documentation

◆ createUniqueId() [1/2]

unsigned long WebCore::WorkerRunLoop::createUniqueId ( )
inline

◆ createUniqueId() [2/2]

unsigned long WebCore::WorkerRunLoop::createUniqueId ( )
inline

◆ debuggerMode() [1/2]

String WebCore::WorkerRunLoop::debuggerMode ( )
static

◆ debuggerMode() [2/2]

static String WebCore::WorkerRunLoop::debuggerMode ( )
static

◆ defaultMode() [1/2]

static String WebCore::WorkerRunLoop::defaultMode ( )
static

◆ defaultMode() [2/2]

String WebCore::WorkerRunLoop::defaultMode ( )
static

◆ postTask() [1/2]

void WebCore::WorkerRunLoop::postTask ( ScriptExecutionContext::Task &&  task)

◆ postTask() [2/2]

void WebCore::WorkerRunLoop::postTask ( ScriptExecutionContext::Task &&  )

◆ postTaskAndTerminate() [1/2]

void WebCore::WorkerRunLoop::postTaskAndTerminate ( ScriptExecutionContext::Task &&  )

◆ postTaskAndTerminate() [2/2]

void WebCore::WorkerRunLoop::postTaskAndTerminate ( ScriptExecutionContext::Task &&  task)

◆ postTaskForMode() [1/2]

void WebCore::WorkerRunLoop::postTaskForMode ( ScriptExecutionContext::Task &&  task,
const String mode 
)

◆ postTaskForMode() [2/2]

void WebCore::WorkerRunLoop::postTaskForMode ( ScriptExecutionContext::Task &&  ,
const String mode 
)

◆ run() [1/2]

void WebCore::WorkerRunLoop::run ( WorkerGlobalScope context)

◆ run() [2/2]

void WebCore::WorkerRunLoop::run ( WorkerGlobalScope )

◆ runInMode() [1/2]

MessageQueueWaitResult WebCore::WorkerRunLoop::runInMode ( WorkerGlobalScope context,
const String mode,
WaitMode  waitMode = WaitForMessage 
)

◆ runInMode() [2/2]

MessageQueueWaitResult WebCore::WorkerRunLoop::runInMode ( WorkerGlobalScope ,
const String mode,
WaitMode  = WaitForMessage 
)

◆ terminate() [1/2]

void WebCore::WorkerRunLoop::terminate ( )

◆ terminate() [2/2]

void WebCore::WorkerRunLoop::terminate ( )

◆ terminated() [1/2]

bool WebCore::WorkerRunLoop::terminated ( ) const
inline

◆ terminated() [2/2]

bool WebCore::WorkerRunLoop::terminated ( ) const
inline

Friends And Related Function Documentation

◆ RunLoopSetup

RunLoopSetup
friend

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