OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ContextSwitcher
(Results
1 - 2
of
2
) sorted by null
/external/v8/src/
v8threads.h
139
// The
ContextSwitcher
thread is used to schedule regular preemptions to
143
class
ContextSwitcher
: public Thread {
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);
v8threads.cc
143
v8::internal::
ContextSwitcher
::StartPreemption(every_n_ms);
148
v8::internal::
ContextSwitcher
::StopPreemption();
410
ContextSwitcher
::
ContextSwitcher
(Isolate* isolate, int every_n_ms)
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
::StopPreemption()
[
all
...]
Completed in 54 milliseconds