v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <v8threads.h>
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 |
PlatformData * | data () |
Static Public Attributes inherited from Thread | |
static const int | kMaxThreadNameLength = 16 |
Definition at line 143 of file v8threads.h.
|
static |
Definition at line 464 of file v8threads.cc.
References ASSERT, and Locker::IsLocked().
|
static |
Definition at line 420 of file v8threads.cc.
References ASSERT, Isolate::context_switcher(), Locker::IsLocked(), v8::internal::NULL, Isolate::set_context_switcher(), and Thread::Start().
Referenced by Locker::StartPreemption().
|
static |
Definition at line 437 of file v8threads.cc.
References ASSERT, Isolate::context_switcher(), Locker::IsLocked(), Thread::Join(), v8::internal::NULL, and Isolate::set_context_switcher().
Referenced by Locker::StopPreemption().