Home | History | Annotate | Download | only in src

Lines Matching full:state

81     // get the saved state for this thread and restore it.
148 // not archived at all. If that is the case we put the state storage we
161 // Make sure that the preemption thread cannot modify the thread state while
177 ThreadState* state = per_thread->thread_state();
178 char* from = state->data();
189 if (state->terminate_on_restore()) {
191 state->set_terminate_on_restore(false);
193 state->set_id(ThreadId::Invalid());
194 state->Unlink();
195 state->LinkInto(ThreadState::FREE_LIST);
303 ThreadState* state = GetFreeThreadState();
304 state->Unlink();
305 Isolate::CurrentPerIsolateThreadData()->set_thread_state(state);
307 lazily_archived_thread_state_ = state;
308 ASSERT(state->id().Equals(ThreadId::Invalid()));
309 state->set_id(CurrentId());
310 ASSERT(!state->id().Equals(ThreadId::Invalid()));
315 ThreadState* state = lazily_archived_thread_state_;
316 state->LinkInto(ThreadState::IN_USE_LIST);
317 char* to = state->data();
354 for (ThreadState* state = FirstThreadStateInUse();
355 state != NULL;
356 state = state->Next()) {
357 char* data = state->data();
366 for (ThreadState* state = FirstThreadStateInUse();
367 state != NULL;
368 state = state->Next()) {
369 char* data = state->data();
382 for (ThreadState* state = FirstThreadStateInUse();
383 state != NULL;
384 state = state->Next()) {
385 if (thread_id.Equals(state->id())) {
386 state->set_terminate_on_restore(true);