Home | History | Annotate | Download | only in src

Lines Matching refs:state

69     // get the saved state for this thread and restore it.
142 // not archived at all. If that is the case we put the state storage we
157 // Make sure that the preemption thread cannot modify the thread state while
173 ThreadState* state = per_thread->thread_state();
174 char* from = state->data();
185 if (state->terminate_on_restore()) {
187 state->set_terminate_on_restore(false);
189 state->set_id(ThreadId::Invalid());
190 state->Unlink();
191 state->LinkInto(ThreadState::FREE_LIST);
317 ThreadState* state = GetFreeThreadState();
318 state->Unlink();
321 per_thread->set_thread_state(state);
323 lazily_archived_thread_state_ = state;
324 ASSERT(state->id().Equals(ThreadId::Invalid()));
325 state->set_id(CurrentId());
326 ASSERT(!state->id().Equals(ThreadId::Invalid()));
332 ThreadState* state = lazily_archived_thread_state_;
333 state->LinkInto(ThreadState::IN_USE_LIST);
334 char* to = state->data();
372 for (ThreadState* state = FirstThreadStateInUse();
373 state != NULL;
374 state = state->Next()) {
375 char* data = state->data();
384 for (ThreadState* state = FirstThreadStateInUse();
385 state != NULL;
386 state = state->Next()) {
387 char* data = state->data();
400 for (ThreadState* state = FirstThreadStateInUse();
401 state != NULL;
402 state = state->Next()) {
403 if (thread_id.Equals(state->id())) {
404 state->set_terminate_on_restore(true);