Searched defs:new_thread_state (Results 1 - 1 of 1) sorted by relevance

/art/runtime/
H A Dscoped_thread_state_change-inl.h32 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) argument
33 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) {
44 if (old_thread_state_ != new_thread_state) {
45 if (new_thread_state == kRunnable) {
48 self_->TransitionFromRunnableToSuspended(new_thread_state);
51 self_->SetState(new_thread_state);

Completed in 3 milliseconds