Home | History | Annotate | Download | only in src

Lines Matching refs:Thread

46 // current thread will be guaranteed to have the big V8 lock.
51 // A thread should not enter an isolate before acquiring a lock,
71 ASSERT(internal::Thread::HasThreadLocal(
81 // get the saved state for this thread and restore it.
147 // First check whether the current thread has been 'lazily archived', ie
161 // Make sure that the preemption thread cannot modify the thread state while
165 // If there is another thread that was lazily archived then we have to really
173 // This is a new thread.
280 // Thread ids must start with 1, because in TLS having thread id 0 can't
281 // be distinguished from not having a thread id at all (since NULL is
393 : Thread(isolate, "v8:CtxtSwitcher"),
400 // ContextSwitcher thread if needed.
405 // If the ContextSwitcher thread is not running at the moment start it now.
409 // ContextSwitcher thread is already running, so we just change the
422 // The ContextSwitcher thread is running. We need to stop it and release
425 // Wait for the ContextSwitcher thread to exit.
427 // Thread has exited, now we can delete it.
434 // Main loop of the ContextSwitcher thread: Preempt the currently running V8
435 // thread at regular intervals.
444 // Acknowledge the preemption by the receiving thread.