Searched refs:new_thread_state (Results 1 – 2 of 2) sorted by relevance
30 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) in ScopedThreadStateChange() argument31 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { in ScopedThreadStateChange()42 if (old_thread_state_ != new_thread_state) { in ScopedThreadStateChange()43 if (new_thread_state == kRunnable) { in ScopedThreadStateChange()46 self_->TransitionFromRunnableToSuspended(new_thread_state); in ScopedThreadStateChange()49 self_->SetState(new_thread_state); in ScopedThreadStateChange()
44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state)