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
115
// The
ContextSwitcher
thread is used to schedule regular preemptions to
119
class
ContextSwitcher
: public Thread {
121
// Set the preemption interval for the
ContextSwitcher
thread.
127
// Preempted thread needs to call back to the
ContextSwitcher
to acknowledge
132
explicit
ContextSwitcher
(int every_n_ms);
139
static
ContextSwitcher
* singleton_;
v8threads.cc
115
v8::internal::
ContextSwitcher
::StartPreemption(every_n_ms);
120
v8::internal::
ContextSwitcher
::StopPreemption();
388
// This is the
ContextSwitcher
singleton. There is at most a single thread
390
ContextSwitcher
*
ContextSwitcher
::singleton_ = NULL;
393
ContextSwitcher
::
ContextSwitcher
(int every_n_ms)
400
//
ContextSwitcher
thread if needed.
401
void
ContextSwitcher
::StartPreemption(int every_n_ms) {
404
// If the
ContextSwitcher
thread is not running at the moment start it now
[
all
...]
Completed in 308 milliseconds