Searched defs:ContextSwitcher (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/v8/src/
H A Dv8threads.h142 // The ContextSwitcher thread is used to schedule regular preemptions to
146 class ContextSwitcher: public Thread { class in namespace:v8::internal
148 // Set the preemption interval for the ContextSwitcher thread.
154 // Preempted thread needs to call back to the ContextSwitcher to acknowledge
159 ContextSwitcher(Isolate* isolate, int every_n_ms);
H A Dv8threads.cc147 v8::internal::ContextSwitcher::StartPreemption(every_n_ms);
152 v8::internal::ContextSwitcher::StopPreemption();
432 ContextSwitcher::ContextSwitcher(Isolate* isolate, int every_n_ms) function in class:v8::internal::ContextSwitcher
441 // ContextSwitcher thread if needed.
442 void ContextSwitcher::StartPreemption(int every_n_ms) {
446 // If the ContextSwitcher thread is not running at the moment start it now.
447 isolate->set_context_switcher(new ContextSwitcher(isolate, every_n_ms));
450 // ContextSwitcher thread is already running, so we just change the
459 void ContextSwitcher
[all...]
/external/v8/src/
H A Dv8threads.h139 // The ContextSwitcher thread is used to schedule regular preemptions to
143 class ContextSwitcher: public Thread { class in namespace:v8::internal
145 // Set the preemption interval for the ContextSwitcher thread.
151 // Preempted thread needs to call back to the ContextSwitcher to acknowledge
156 ContextSwitcher(Isolate* isolate, int every_n_ms);
H A Dv8threads.cc143 v8::internal::ContextSwitcher::StartPreemption(every_n_ms);
148 v8::internal::ContextSwitcher::StopPreemption();
410 ContextSwitcher::ContextSwitcher(Isolate* isolate, int every_n_ms) function in class:v8::internal::ContextSwitcher
419 // ContextSwitcher thread if needed.
420 void ContextSwitcher::StartPreemption(int every_n_ms) {
424 // If the ContextSwitcher thread is not running at the moment start it now.
425 isolate->set_context_switcher(new ContextSwitcher(isolate, every_n_ms));
428 // ContextSwitcher thread is already running, so we just change the
437 void ContextSwitcher
[all...]

Completed in 122 milliseconds