Home
last modified time | relevance | path

Searched refs:new_thread_state (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dscoped_thread_state_change-inl.h30 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) in ScopedThreadStateChange() argument
31 : 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()
Dscoped_thread_state_change.h44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state)