v8
3.14.5(node0.10.28)
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 146 of file v8threads.h.
|
static |
Definition at line 481 of file v8threads.cc.
References ASSERT, and Locker::IsLocked().
|
static |
Definition at line 437 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 454 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().