v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContextSwitcher Class Reference

#include <v8threads.h>

Inheritance diagram for ContextSwitcher:
Collaboration diagram for ContextSwitcher:

Static Public Member Functions

static void StartPreemption (int every_n_ms)
 
static void StopPreemption ()
 
static void PreemptionReceived ()
 
- Static Public Member Functions inherited from Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static int GetThreadLocalInt (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static void SetThreadLocalInt (LocalStorageKey key, int value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
static void YieldCPU ()
 

Additional Inherited Members

- Public Types inherited from Thread
enum  LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt }
 
- Public Member Functions inherited from Thread
 Thread (const Options &options)
 
virtual ~Thread ()
 
void Start ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
- Static Public Attributes inherited from Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

Definition at line 146 of file v8threads.h.

Member Function Documentation

void PreemptionReceived ( )
static

Definition at line 481 of file v8threads.cc.

References ASSERT, and Locker::IsLocked().

void StartPreemption ( int  every_n_ms)
static
void StopPreemption ( )
static

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